mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
renamed uapiConn and lint errors
This commit is contained in:
@@ -17,6 +17,9 @@ func assignAddr(address string, tunDevice tun.Device) error {
|
||||
var err error
|
||||
attrs := netlink.NewLinkAttrs()
|
||||
attrs.Name, err = tunDevice.Name()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
link := wgLink{
|
||||
attrs: &attrs,
|
||||
|
||||
Reference in New Issue
Block a user