summaryrefslogtreecommitdiff
path: root/cmd/podman/networks/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-10 13:50:43 +0000
committerGitHub <noreply@github.com>2020-11-10 13:50:43 +0000
commit20b26b521079234319b362c5a840e30d85f4f9b3 (patch)
tree629cd28989968869dad0f48dec0b848987aba39e /cmd/podman/networks/create.go
parentda95fb4226c82694af19610578d9c14a6aa964f2 (diff)
parentaabf28a16825aec643206d5e3084940ea48b9c99 (diff)
downloadpodman-20b26b521079234319b362c5a840e30d85f4f9b3.tar.gz
podman-20b26b521079234319b362c5a840e30d85f4f9b3.tar.bz2
podman-20b26b521079234319b362c5a840e30d85f4f9b3.zip
Merge pull request #8143 from aojea/dual
enable ipv6 networks
Diffstat (limited to 'cmd/podman/networks/create.go')
-rw-r--r--cmd/podman/networks/create.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/networks/create.go b/cmd/podman/networks/create.go
index 74646090d..c06011ce9 100644
--- a/cmd/podman/networks/create.go
+++ b/cmd/podman/networks/create.go
@@ -35,8 +35,7 @@ func networkCreateFlags(flags *pflag.FlagSet) {
flags.StringVar(&networkCreateOptions.MacVLAN, "macvlan", "", "create a Macvlan connection based on this device")
// TODO not supported yet
// flags.StringVar(&networkCreateOptions.IPamDriver, "ipam-driver", "", "IP Address Management Driver")
- // TODO enable when IPv6 is working
- // flags.BoolVar(&networkCreateOptions.IPV6, "IPv6", false, "enable IPv6 networking")
+ flags.BoolVar(&networkCreateOptions.IPv6, "ipv6", false, "enable IPv6 networking")
flags.IPNetVar(&networkCreateOptions.Subnet, "subnet", net.IPNet{}, "subnet in CIDR format")
flags.BoolVar(&networkCreateOptions.DisableDNS, "disable-dns", false, "disable dns plugin")
}