[openwrt/openwrt] hostapd: enable proxy-arp support for hostapd-full

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 27 16:32:07 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ec2078e3efe645b7fd7d85b1b918b4fbe2b8f809

commit ec2078e3efe645b7fd7d85b1b918b4fbe2b8f809
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Wed Aug 18 12:39:33 2021 +0200

    hostapd: enable proxy-arp support for hostapd-full
    
    The hostapd.sh script already has support for configuring proxy-ARP,
    however no built variant has support for it enabled.
    
    Enable proxy-ARP support for hostapd-full builds in order to allow users
    to actually use this feature.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 package/network/services/hostapd/files/hostapd-basic.config | 3 +++
 package/network/services/hostapd/files/hostapd-full.config  | 3 +++
 package/network/services/hostapd/files/hostapd-mini.config  | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/package/network/services/hostapd/files/hostapd-basic.config b/package/network/services/hostapd/files/hostapd-basic.config
index 33c38192b1..1f52546d57 100644
--- a/package/network/services/hostapd/files/hostapd-basic.config
+++ b/package/network/services/hostapd/files/hostapd-basic.config
@@ -386,6 +386,9 @@ CONFIG_TLS=internal
 # Airtime policy support
 CONFIG_AIRTIME_POLICY=y
 
+# Proxy ARP support
+#CONFIG_PROXYARP=y
+
 # Override default value for the wpa_disable_eapol_key_retries configuration
 # parameter. See that parameter in hostapd.conf for more details.
 #CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1
diff --git a/package/network/services/hostapd/files/hostapd-full.config b/package/network/services/hostapd/files/hostapd-full.config
index df272e443a..6d5e90cd46 100644
--- a/package/network/services/hostapd/files/hostapd-full.config
+++ b/package/network/services/hostapd/files/hostapd-full.config
@@ -386,6 +386,9 @@ CONFIG_TAXONOMY=y
 # Airtime policy support
 CONFIG_AIRTIME_POLICY=y
 
+# Proxy ARP support
+CONFIG_PROXYARP=y
+
 # Override default value for the wpa_disable_eapol_key_retries configuration
 # parameter. See that parameter in hostapd.conf for more details.
 #CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1
diff --git a/package/network/services/hostapd/files/hostapd-mini.config b/package/network/services/hostapd/files/hostapd-mini.config
index b3050f7bbc..f2ed071ec0 100644
--- a/package/network/services/hostapd/files/hostapd-mini.config
+++ b/package/network/services/hostapd/files/hostapd-mini.config
@@ -386,6 +386,9 @@ CONFIG_TLS=internal
 # Airtime policy support
 #CONFIG_AIRTIME_POLICY=y
 
+# Proxy ARP support
+#CONFIG_PROXYARP=y
+
 # Override default value for the wpa_disable_eapol_key_retries configuration
 # parameter. See that parameter in hostapd.conf for more details.
 #CFLAGS += -DDEFAULT_WPA_DISABLE_EAPOL_KEY_RETRIES=1



More information about the lede-commits mailing list