From f9366292f261ccc48b6865e8b0e3c514a77f09e5 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Fri, 24 Jun 2011 18:03:13 +0000 Subject: contrib/meshwizard: use renamed interface name for masq_src entry for wlan interfaces --- .../meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3