From 38e0dcf0979bb521c5d512c2c31d3f7a04232c3d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 21 Jan 2015 14:11:20 -0600 Subject: [PATCH] Networking: Fix another error in an IPv6 macro. Again ampersand where there should not be one --- include/nuttx/net/ip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/net/ip.h b/include/nuttx/net/ip.h index 6dd3379f52..795ce0478b 100644 --- a/include/nuttx/net/ip.h +++ b/include/nuttx/net/ip.h @@ -302,7 +302,7 @@ struct ipv6_hdr_s #ifdef CONFIG_NET_IPv6 # define net_ipv6addr_cmp(addr1, addr2) \ - (memcmp(&addr1, &addr2, sizeof(net_ipv6addr_t)) == 0) + (memcmp(addr1, addr2, sizeof(net_ipv6addr_t)) == 0) # define net_ipv6addr_hdrcmp(addr1, addr2) \ net_ipv6addr_cmp(addr1, addr2) #endif