mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-11 22:54:02 -05:00
dhcp_snoop: Silence a sparse warning
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
bbae0f03aa
commit
451e094c7e
@ -121,7 +121,8 @@ static void handle_dhcp(void *ctx, const u8 *src_addr, const u8 *buf,
|
|||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "dhcp_snoop: Found DHCPACK for " MACSTR
|
wpa_printf(MSG_DEBUG, "dhcp_snoop: Found DHCPACK for " MACSTR
|
||||||
" @ IPv4 address %s/%d",
|
" @ IPv4 address %s/%d",
|
||||||
MAC2STR(sta->addr), ipaddr_str(ntohl(b->your_ip)),
|
MAC2STR(sta->addr),
|
||||||
|
ipaddr_str(be_to_host32(b->your_ip)),
|
||||||
prefixlen);
|
prefixlen);
|
||||||
|
|
||||||
if (sta->ipaddr == b->your_ip)
|
if (sta->ipaddr == b->your_ip)
|
||||||
|
Loading…
Reference in New Issue
Block a user