aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/route_unspecified.go
blob: db7372689589ea7f908e39b9682cdf592c8d94ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// +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))
}