Browse Source

Fix bug in osl.SetGatewayIPv6() function

Signed-off-by: Alessandro Boch <aboch@docker.com>
Alessandro Boch 9 years ago
parent
commit
84682eb59a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libnetwork/osl/route_linux.go

+ 1 - 1
libnetwork/osl/route_linux.go

@@ -142,7 +142,7 @@ func (n *networkNamespace) SetGatewayIPv6(gwv6 net.IP) error {
 
 	err := programGateway(n.nsPath(), gwv6, true)
 	if err == nil {
-		n.SetGatewayIPv6(gwv6)
+		n.setGatewayIPv6(gwv6)
 	}
 
 	return err