mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-04 00:45:40 +03:00
bugfix in uip-version of address comparison function
This commit is contained in:
1 parent
e440853cf7
commit
ab5a611723
1 file changed
+2
-2
@@ -44,8 +44,8 @@ typedef struct __coap_address_t {
|
||||
|
||||
#define _coap_address_equals_impl(A,B) \
|
||||
((A)->size == (B)->size \
|
||||
&& (A)->port == (B)->port \
|
||||
&& uip_ipaddr_cmp((A),(B)))
|
||||
&& (A)->port == (B)->port \
|
||||
&& uip_ipaddr_cmp(&((A)->addr),&((B)->addr)))
|
||||
|
||||
#endif /* WITH_CONTIKI */
|
||||
|
||||
|
||||
Reference in new issue
Block a user