瀏覽代碼

Fix bug in osl.SetGatewayIPv6() function

Signed-off-by: Alessandro Boch <aboch@docker.com>
Alessandro Boch 9 年之前
父節點
當前提交
84682eb59a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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