netlink/route_unspecified.go

22 lines
307 B
Go
Raw Normal View History

// +build !linux
package netlink
import "strconv"
func (r *Route) ListFlags() []string {
return []string{}
}
func (n *NexthopInfo) ListFlags() []string {
return []string{}
}
func (s Scope) String() string {
return "unknown"
}
func (p RouteProtocol) String() string {
return strconv.Itoa(int(p))
}