diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-06-24 18:03:13 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-06-24 18:03:13 +0000 |
commit | f9366292f261ccc48b6865e8b0e3c514a77f09e5 (patch) | |
tree | 89c495ae0902f916bad0e1cbdc18ef00dfa1f42d /contrib/package/meshwizard | |
parent | 8df0c46d125edcc01dbacf2773f58fe8a4cba44a (diff) |
contrib/meshwizard: use renamed interface name for masq_src entry for wlan interfaces
Diffstat (limited to 'contrib/package/meshwizard')
-rwxr-xr-x | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh index e32462663..299b167fe 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh @@ -124,7 +124,7 @@ for i in $networks; do # check if the dhcprange is inside meshnet dhcpinmesh="$($dir/helpers/check-range-in-range.sh $dhcprange $meshnet)" if [ ! "$dhcpinmesh" == 1 ]; then - [ -z "$(echo $currms |grep ${net}dhcp)" ] && uci add_list firewall.zone_freifunk.masq_src="${net}dhcp" + [ -z "$(echo $currms |grep ${netrenamed}dhcp)" ] && uci add_list firewall.zone_freifunk.masq_src="${netrenamed}dhcp" fi done |