mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 19:03:39 +00:00
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>
12 lines
361 B
Diff
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.
|
|
*/
|