Skip to content

Commit

Permalink
network.device.ifname should point to @logical_name to avoid race con…
Browse files Browse the repository at this point in the history
…ditions on boot
  • Loading branch information
altergui committed Sep 17, 2014
1 parent 46ce927 commit b7cf9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lime-system/files/usr/lib/lua/lime/network.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function network.createVlanIface(linuxBaseIfname, vid, openwrtNameSuffix, vlanPr
uci:set("network", owrtDeviceName, "device")
uci:set("network", owrtDeviceName, "type", vlanProtocol)
uci:set("network", owrtDeviceName, "name", linux802adIfName)
uci:set("network", owrtDeviceName, "ifname", linuxBaseIfname)
uci:set("network", owrtDeviceName, "ifname", "@"..network.limeIfNamePrefix..linuxBaseIfname)
uci:set("network", owrtDeviceName, "vid", vlanId)

uci:set("network", owrtInterfaceName, "interface")
Expand Down

0 comments on commit b7cf9e8

Please sign in to comment.