Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lime-proto-batadv: set gw_mode=client by default if anygw is enabled
DHCP requests are always answered locally by dnsmasq, so forwarding them over bat0 is unnecesary, and if a rogue DHCP server is anywhere in the network, it replies to these requests creating confusion. Setting bat0 gw_mode=client prevents this, without side-effects. (As long as there's no gw_mode=server, in which case they would simply unicast the requests to that nodes. Rogue DHCP servers still mitigated) Signed-off-by: Gui Iribarren <gui@altermundi.net>
- Loading branch information