kilo/vendor/github.com/vishvananda/netlink/route_unspecified.go

22 lines
307 B
Go
Raw Normal View History

2019-01-18 01:50:10 +00:00
// +build !linux
package netlink
import "strconv"
2019-01-18 01:50:10 +00:00
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))
}