Revert "plugins/ptp: allow host veth to be UP"

This reverts commit 231d2d5a27.
This commit is contained in:
Stefan Junker
2015-09-24 18:28:14 +02:00
parent 39ea97f99d
commit f1c9c632e1
2 changed files with 7 additions and 7 deletions

View File

@ -128,10 +128,6 @@ func setupHostVeth(vethName string, ipConf *types.IPConfig) error {
return fmt.Errorf("failed to lookup %q: %v", vethName, err)
}
if err = netlink.LinkSetUp(veth); err != nil {
return fmt.Errorf("failed to set %q up: %v", vethName, err)
}
// TODO(eyakubovich): IPv6
ipn := &net.IPNet{
IP: ipConf.Gateway,