1 --- a/src/ap/dhcp_snoop.c
2 +++ b/src/ap/dhcp_snoop.c
3 @@ -110,6 +110,15 @@ static void handle_dhcp(void *ctx, const
7 + if (hapd->conf->disable_dgaf && is_broadcast_ether_addr(buf)) {
8 + for (sta = hapd->sta_list; sta; sta = sta->next) {
9 + if (!(sta->flags & WLAN_STA_AUTHORIZED))
11 + x_snoop_mcast_to_ucast_convert_send(hapd, sta,
16 if (msgtype == DHCPACK) {
19 @@ -145,15 +154,6 @@ static void handle_dhcp(void *ctx, const
21 sta->ipaddr = b->your_ip;
24 - if (hapd->conf->disable_dgaf && is_broadcast_ether_addr(buf)) {
25 - for (sta = hapd->sta_list; sta; sta = sta->next) {
26 - if (!(sta->flags & WLAN_STA_AUTHORIZED))
28 - x_snoop_mcast_to_ucast_convert_send(hapd, sta,