1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix build on darwin

This commit is contained in:
Solomon Hykes 2013-10-24 22:45:37 -06:00
parent d5c7e92a9a
commit 60b97576cf
2 changed files with 29 additions and 0 deletions

29
netlink/netlink_darwin.go Normal file
View file

@ -0,0 +1,29 @@
package netlink
import (
"fmt"
"net"
)
func NetworkGetRoutes() ([]*net.IPNet, error) {
return nil, fmt.Errorf("Not implemented")
}
func NetworkLinkAdd(name string, linkType string) error {
return fmt.Errorf("Not implemented")
}
func NetworkLinkUp(iface *net.Interface) error {
return fmt.Errorf("Not implemented")
}
func NetworkLinkAddIp(iface *net.Interface, ip net.IP, ipNet *net.IPNet) error {
return fmt.Errorf("Not implemented")
}
func AddDefaultGw(ip net.IP) error {
return fmt.Errorf("Not implemented")
}