Merge pull request #47111 from robmry/fix_TestAddRemoveInterface
Fix libnetwork/osl test TestAddRemoveInterface
This commit is contained in:
commit
17d80442cc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue