Merge pull request #5115 from alexlarsson/fix-libcontainer-network-rhel6

Fix libcontainer network support on rhel6
This commit is contained in:
Guillaume J. Charmes 2014-04-10 07:45:12 -07:00
commit d2ef2bada1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ func SetInterfaceMaster(name, master string) error {
if err != nil { if err != nil {
return err return err
} }
return netlink.NetworkSetMaster(iface, masterIface) return netlink.AddToBridge(iface, masterIface)
} }
func SetDefaultGateway(ip string) error { func SetDefaultGateway(ip string) error {