From: Jouni Malinen Date: Fri, 28 Nov 2014 17:27:07 +0000 (+0200) Subject: proxyarp: Add debug log entry on multicast-to-unicast conversion X-Git-Tag: hostap_2_4~999 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89052e99522505bf1009a107f826a789233115e6;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/ap/x_snoop.c b/src/ap/x_snoop.c index 0ae20128a..09c621cdd 100644 --- a/src/ap/x_snoop.c +++ b/src/ap/x_snoop.c @@ -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);