From: Manuel Munz Date: Fri, 24 Jun 2011 18:03:13 +0000 (+0000) Subject: contrib/meshwizard: use renamed interface name for masq_src entry for wlan interfaces X-Git-Tag: 0.11.0~2001 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f9366292f261ccc48b6865e8b0e3c514a77f09e5;p=oweals%2Fluci.git contrib/meshwizard: use renamed interface name for masq_src entry for wlan interfaces --- 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