From ab5a611723ec79472acdd5eb6f66da8b0ed71bbf Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Tue, 6 Mar 2012 14:10:17 +0100 Subject: [PATCH] bugfix in uip-version of address comparison function --- address.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/address.h b/address.h index a766f206..bcda33ea 100644 --- a/address.h +++ b/address.h @@ -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 */