mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-28 16:46:56 +08:00
13 lines
354 B
Go
13 lines
354 B
Go
//go:build !linux
|
|||
|
|
|
||
|
|
package hostnetwork
|
||
|
|
|
||
|
|
import "errors"
|
||
|
|
|
||
|
|
func readLegacyLinks(string) ([]Link, error) {
|
||
|
|
return nil, &IPRoute2Error{Err: errors.New("iproute2 JSON output or Linux netlink is required")}
|
||
|
|
}
|
||
|
|
|
||
|
|
func readLegacyRoutes(string) ([]Route, error) {
|
||
|
|
return nil, &IPRoute2Error{Err: errors.New("iproute2 JSON output or Linux netlink is required")}
|
||
|
|
}
|