diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-16 13:36:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-16 13:36:47 +0200 |
commit | 96fb5dc94d88bc4eafe82382bfb26b64c479f76b (patch) | |
tree | 78a831b89f1a4581884a6d520fcd1c4799210d4e /pkg/domain/infra/abi/network.go | |
parent | f1f1834f91c84b68f5c95dea68c9ecbbf60eb696 (diff) | |
parent | 07e3f1bba9674c0cb93a0fa260930bfebbf75728 (diff) | |
download | podman-96fb5dc94d88bc4eafe82382bfb26b64c479f76b.tar.gz podman-96fb5dc94d88bc4eafe82382bfb26b64c479f76b.tar.bz2 podman-96fb5dc94d88bc4eafe82382bfb26b64c479f76b.zip |
Merge pull request #7314 from aojea/ipv6_default_gw
IPv6 default route
Diffstat (limited to 'pkg/domain/infra/abi/network.go')
-rw-r--r-- | pkg/domain/infra/abi/network.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/network.go b/pkg/domain/infra/abi/network.go index 0183a90d8..c06714cbb 100644 --- a/pkg/domain/infra/abi/network.go +++ b/pkg/domain/infra/abi/network.go @@ -191,7 +191,7 @@ func createBridge(r *libpod.Runtime, name string, options entities.NetworkCreate var plugins []network.CNIPlugins var routes []network.IPAMRoute - defaultRoute, err := network.NewIPAMDefaultRoute() + defaultRoute, err := network.NewIPAMDefaultRoute(network.IsIPv6(subnet.IP)) if err != nil { return "", err } |