diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-07-27 20:28:58 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-07-28 05:55:11 +0200 |
commit | 7b46377a0cd9d809a3c340358121de77f005d4cc (patch) | |
tree | b685795c10734771a46778e1d166d656c84fe49b /package/network/services/hostapd/files | |
parent | 39f81b0bf687017b4d086255c94166e662ac177e (diff) | |
download | upstream-7b46377a0cd9d809a3c340358121de77f005d4cc.tar.gz upstream-7b46377a0cd9d809a3c340358121de77f005d4cc.tar.bz2 upstream-7b46377a0cd9d809a3c340358121de77f005d4cc.zip |
hostapd: make the snooping interface (for proxyarp) configurable
Use the VLAN interface instead of the bridge, to ensure that hostapd receives
untagged DHCP packets
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/files')
-rw-r--r-- | package/network/services/hostapd/files/hostapd.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 7d035a299b..d65565d801 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -754,6 +754,7 @@ hostapd_set_bss_options() { append bss_conf "ssid=$ssid" "$N" [ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" + [ -n "$network_ifname" ] && append bss_conf "snoop_iface=$network_ifname" "$N" [ -n "$iapp_interface" ] && { local ifname network_get_device ifname "$iapp_interface" || ifname="$iapp_interface" |