diff options
author | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-02-02 11:14:00 +0000 |
---|---|---|
committer | Dafydd Harries <dafydd.harries@collabora.co.uk> | 2007-02-02 11:14:00 +0000 |
commit | 58bcbb8ecd2d1cbb2801fc7f99b7b1c036adbfb7 (patch) | |
tree | 9a50fa17a7b33bf20d2f4b1262d2c8f7cc167a92 /agent/address.c | |
parent | 887a92c3ecd173dc880dab2781cd890e801ca089 (diff) | |
download | libnice-58bcbb8ecd2d1cbb2801fc7f99b7b1c036adbfb7.tar.gz |
add port to address struct; compare it in address_is_equal
darcs-hash:20070202111444-c9803-19acc3f2fc3b542af9826a1f42ed23973a8fd941.gz
Diffstat (limited to 'agent/address.c')
-rw-r--r-- | agent/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/address.c b/agent/address.c index 910276e..955881e 100644 --- a/agent/address.c +++ b/agent/address.c @@ -66,7 +66,7 @@ nice_address_equal (NiceAddress *a, NiceAddress *b) return FALSE; if (a->type == NICE_ADDRESS_TYPE_IPV4) - return a->addr_ipv4 == b->addr_ipv4; + return (a->addr_ipv4 == b->addr_ipv4) && (a->port == b->port); g_assert_not_reached (); } |