system-linux: add device options used by wpad
authorDaniel Golle <daniel@makrotopia.org>
Sat, 12 Dec 2020 21:13:24 +0000 (21:13 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 31 Mar 2021 00:19:55 +0000 (01:19 +0100)
commitc84f3b02fced9dd6752a90ca466ada0aabb38224
treee567a2568563037706bdae3d94153acba1e1748b
parent44c0f40d92e005da6dceef674931c71c13563a78
system-linux: add device options used by wpad

Add device options used by wpad in preparation of running hostapd and
wpa_supplicant non-root (and hence those options will need to be taken
care of by netifd as sysctl is root-only):
 * drop_v4_unicast_in_l2_multicast
 * drop_v6_unicast_in_l2_multicast
 * drop_gratuitous_arp
 * drop_unsolicited_na
 * arp_accept

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
device.c
device.h
system-linux.c