Files
openlan/pkg/libol/nl_others.go
Daniel Ding da0d6d853d
Some checks failed
Coverage CI / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Ubuntu CI / build (push) Has been cancelled
fea: show kernel neighbors.
2025-11-26 15:02:51 +08:00

19 lines
342 B
Go
Executable File

//go:build !linux
// +build !linux
package libol
import "net"
func GetLocalByGw(addr string) (net.IP, error) {
return nil, NewErr("GetLocalByGw notSupport")
}
func ListRoutes() ([]Prefix, error) {
return nil, NewErr("ListRoutes notSupport")
}
func ListNeighbrs() ([]Neighbor, error) {
return nil, NewErr("ListNeighbors notSupport")
}