diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-10-27 10:29:42 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-10-27 10:29:42 +0000 |
commit | b2a8563c650742b0ad222f9476c34a3370192998 (patch) | |
tree | b2ec8bdd0fc524033b524f78d9503cf9539ed719 /contrib/package/meshwizard | |
parent | f6d549b20cce0f13ac662c88843e5ef226262658 (diff) |
contrib/meshwizard: Add masq=1 to freifunk zone. This usually happened in setup of the lan interface, but if lan is an olsr interface it was missing
Diffstat (limited to 'contrib/package/meshwizard')
-rwxr-xr-x | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh index 83b41d0a0..896329be6 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_firewall_interface.sh @@ -64,6 +64,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 + uci set firewall.zone_freifunk.masq="1" [ -z "$(echo $currms |grep ${netrenamed}dhcp)" ] && uci add_list firewall.zone_freifunk.masq_src="${netrenamed}dhcp" fi fi |