summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorye.sijun <junnplus@gmail.com>2022-01-03 16:10:09 +0800
committerye.sijun <junnplus@gmail.com>2022-01-03 16:11:11 +0800
commita8e223faf4a1aa276a0a761a70d919cfad63e654 (patch)
tree19502fcb9fa69a0e400577ba66edf9ab469feb07 /libpod
parent5d2c03e8b0283446aec6da2ac4ad45262c4244bd (diff)
downloadpodman-a8e223faf4a1aa276a0a761a70d919cfad63e654.tar.gz
podman-a8e223faf4a1aa276a0a761a70d919cfad63e654.tar.bz2
podman-a8e223faf4a1aa276a0a761a70d919cfad63e654.zip
fix doc
Signed-off-by: ye.sijun <junnplus@gmail.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/network/internal/util/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/network/internal/util/util.go b/libpod/network/internal/util/util.go
index bf9d70aba..d9b9a8dc0 100644
--- a/libpod/network/internal/util/util.go
+++ b/libpod/network/internal/util/util.go
@@ -78,7 +78,7 @@ func GetUsedSubnets(n NetUtil) ([]*net.IPNet, error) {
return append(subnets, liveSubnets...), nil
}
-// GetFreeIPv6NetworkSubnet returns a unused ipv4 subnet
+// GetFreeIPv4NetworkSubnet returns a unused ipv4 subnet
func GetFreeIPv4NetworkSubnet(usedNetworks []*net.IPNet) (*types.Subnet, error) {
// the default podman network is 10.88.0.0/16
// start locking for free /24 networks