wesher/netlink.go

19 lines
336 B
Go
Raw Normal View History

package main
import "github.com/vishvananda/netlink"
// this is only necessary while this PR is open:
// https://github.com/vishvananda/netlink/pull/464
type wireguard struct {
netlink.LinkAttrs
}
func (wg *wireguard) Attrs() *netlink.LinkAttrs {
return &wg.LinkAttrs
}
func (wg *wireguard) Type() string {
return "wireguard"
}