Update 'devices.go'

This commit is contained in:
Kekskurse 2021-05-14 15:08:19 +00:00
parent 13742efcf5
commit cb94c05d35

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