mirror of
https://github.com/vishvananda/netlink
synced 2024-12-31 19:22:02 +00:00
dedc638a06
The go get command and make both fail when executed on non-linux platforms. Modified it so that there are no compilation errors when developing in such an environment.
12 lines
162 B
Go
12 lines
162 B
Go
// +build !linux
|
|
|
|
package netlink
|
|
|
|
func (r *Route) ListFlags() []string {
|
|
return []string{}
|
|
}
|
|
|
|
func (n *NexthopInfo) ListFlags() []string {
|
|
return []string{}
|
|
}
|