Skip to content

Commit

Permalink
Fix related to #117
Browse files Browse the repository at this point in the history
Avoid duplicated lm_net preffix

Signed-off-by: Pau Escrich <p4u@dabax.net>
  • Loading branch information
p4u committed May 5, 2017
1 parent d14b3b8 commit 3163e6e
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 @@ -306,7 +306,7 @@ function network.createVlanIface(linuxBaseIfname, vid, openwrtNameSuffix, vlanPr
--! sanitize passed linuxBaseIfName for constructing uci section name
--! because only alphanumeric and underscores are allowed
owrtInterfaceName = owrtInterfaceName..openwrtNameSuffix.."_if"
owrtDeviceName = network.limeIfNamePrefix..network.sanitizeIfaceName(linuxBaseIfname)..openwrtNameSuffix.."_dev"
owrtDeviceName = network.sanitizeIfaceName(linuxBaseIfname)..openwrtNameSuffix.."_dev"

if linuxBaseIfname:match("^wlan") then
linuxBaseIfname = "@"..network.sanitizeIfaceName(linuxBaseIfname)
Expand Down

0 comments on commit 3163e6e

Please sign in to comment.