wlan-ap-Telecominfraproject/feeds/wlan-ap/opensync/patches/25-promisc-mode-capture.patch
Yashvardhan 099feb23ec opensync: Capture dhcp packets in promiscous mode
DHCP_leased_IP table was not getting populated for some of the
associated clients. Enabling capture in promiscous mode allows
capturing of all the dhcp packets.

Fixes: WIFI-1177

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-12-13 18:46:52 +01:00

12 lines
361 B
Diff

--- a/src/lib/inet/src/linux/inet_dhsnif_pcap.c
+++ b/src/lib/inet/src/linux/inet_dhsnif_pcap.c
@@ -335,7 +335,7 @@ bool __inet_dhsnif_start(inet_dhsnif_t *
}
#endif
-#if defined(CONFIG_INET_DHSNIFF_PCAP_PROMISC)
+#if defined(CONFIG_DHSNIFF_PCAP_PROMISC)
/*
* XXX Promisc mode is not needed, keep the code around in case we need it.
*/