Update 'devices.go'

This commit is contained in:
Kekskurse 2021-05-14 15:08:19 +00:00
parent 13742efcf5
commit cb94c05d35
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ func DevicesCreate(device Device) (error) {
// Create IP Device
la := netlink.NewLinkAttrs()
la.Name = device.Name
return nil
}
func convertToDevice(device *wgtypes.Device) (Device, error) {