vlan: initialize device ifname earlier at creation time
authorFelix Fietkau <nbd@nbd.name>
Sat, 18 Jul 2020 12:26:07 +0000 (14:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 18 Jul 2020 12:37:27 +0000 (14:37 +0200)
commit330f4032e32741f7f604d742616e4aad86452f4d
tree6928caa79bc8ff0a1b72f8e37e7887d4a26fe1c9
parent3d9bd73e8c2d8a1f78effbe92dd2495bbd2552c4
vlan: initialize device ifname earlier at creation time

Avoids attempting to add the device with an empty string as ifname

Signed-off-by: Felix Fietkau <nbd@nbd.name>
vlan.c