proxyarp: Add debug log entry on multicast-to-unicast conversion

This makes it easier to debug operations. The debug message is marked
EXCESSIVE, though, to avoid filling the logs with too much information
in default debugging cases.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-11-28 19:27:07 +02:00 committed by Jouni Malinen
parent 85660d312a
commit 89052e9952
1 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,10 @@ void x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd,
if (!(dst_addr[0] & 0x01))
return;
wpa_printf(MSG_EXCESSIVE, "x_snoop: Multicast-to-unicast conversion "
MACSTR " -> " MACSTR " (len %u)",
MAC2STR(dst_addr), MAC2STR(sta->addr), (unsigned int) len);
/* save the multicast destination address for restoring it later */
os_memcpy(addr, buf, ETH_ALEN);