summaryrefslogtreecommitdiff
path: root/contrib/wpa/src/ap/ndisc_snoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wpa/src/ap/ndisc_snoop.c')
-rw-r--r--contrib/wpa/src/ap/ndisc_snoop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/wpa/src/ap/ndisc_snoop.c b/contrib/wpa/src/ap/ndisc_snoop.c
index 3c086bfc7131..4d6a92e086bd 100644
--- a/contrib/wpa/src/ap/ndisc_snoop.c
+++ b/contrib/wpa/src/ap/ndisc_snoop.c
@@ -182,4 +182,5 @@ int ndisc_snoop_init(struct hostapd_data *hapd)
void ndisc_snoop_deinit(struct hostapd_data *hapd)
{
l2_packet_deinit(hapd->sock_ndisc);
+ hapd->sock_ndisc = NULL;
}