Merge pull request #47111 from robmry/fix_TestAddRemoveInterface

Fix libnetwork/osl test TestAddRemoveInterface
This commit is contained in:
Sebastiaan van Stijn 2024-01-19 16:15:49 +01:00 committed by GitHub
commit 17d80442cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,7 @@ func newInfo(t *testing.T, hnd *netlink.Handle) (*Namespace, error) {
}
addr.IP = ip4
ip6, addrv6, err := net.ParseCIDR("fe80::2/64")
ip6, addrv6, err := net.ParseCIDR("fdac:97b4:dbcc::2/64")
if err != nil {
return nil, err
}
@ -116,7 +116,7 @@ func newInfo(t *testing.T, hnd *netlink.Handle) (*Namespace, error) {
return &Namespace{
iFaces: []*Interface{intf1, intf2, intf3},
gw: net.ParseIP("192.168.1.1"),
gwv6: net.ParseIP("fe80::1"),
gwv6: net.ParseIP("fdac:97b4:dbcc::1/64"),
}, nil
}