mirror of
https://github.com/vishvananda/netlink.git
synced 2025-09-26 20:01:13 +08:00

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{}
|
|
}
|