bugfix in uip-version of address comparison function

This commit is contained in:
Olaf Bergmann committed 2012-03-06 14:10:17 +01:00
1 parent e440853cf7
commit ab5a611723
1 file changed
+2 -2
+2 -2
View File
@@ -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 */