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
This commit is contained in:
parent
f6d549b20c
commit
b2a8563c65
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue