github.com/vishvananda/netlink@v1.3.0/route_unspecified.go (about) 1 // +build !linux 2 3 package netlink 4 5 import "strconv" 6 7 func (r *Route) ListFlags() []string { 8 return []string{} 9 } 10 11 func (n *NexthopInfo) ListFlags() []string { 12 return []string{} 13 } 14 15 func (s Scope) String() string { 16 return "unknown" 17 } 18 19 func (p RouteProtocol) String() string { 20 return strconv.Itoa(int(p)) 21 }