Files
1Panel/agent/utils/hostnetwork/legacy_other.go
王贺andssongliu ea1966a6ce feat(host): add persistent host network management (#14524)
* feat(host): add persistent host network management

* fix(host): guard shared network and explicit broadcast configurations

---------

Co-authored-by: ssongliu <sloooop1x@gmail.com>
2026-11-25 22:45:52 +08:00

14 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")}
}