mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 08:54:05 +08:00
Networking: Fix another error in an IPv6 macro. Again ampersand where there should not be one
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user