From 89052e99522505bf1009a107f826a789233115e6 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 28 Nov 2014 19:27:07 +0200 Subject: [PATCH] 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 --- src/ap/x_snoop.c | 4 ++++ 1 file changed, 4 insertions(+) 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);