mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #1144 from aboch/gw46
Fix bug in osl.SetGatewayIPv6() function
This commit is contained in:
commit
a18679d145
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ func (n *networkNamespace) SetGatewayIPv6(gwv6 net.IP) error {
|
||||||
|
|
||||||
err := programGateway(n.nsPath(), gwv6, true)
|
err := programGateway(n.nsPath(), gwv6, true)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
n.SetGatewayIPv6(gwv6)
|
n.setGatewayIPv6(gwv6)
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Add table
Reference in a new issue