Set comparison function in v3_add_canonize().

This commit is contained in:
Ben Laurie 2008-10-14 19:27:07 +00:00
parent d5bbead449
commit 28b6d5020e
2 changed files with 4 additions and 0 deletions

View file

@ -722,6 +722,9 @@
Changes between 0.9.8i and 0.9.8j [xx XXX xxxx]
*) Set the comparison function in v3_addr_canonize().
[Rob Austein <sra@hactrn.net>]
*) Add support for XMPP STARTTLS in s_client.
[Philip Paeps <philip@freebsd.org>]

View file

@ -877,6 +877,7 @@ int v3_addr_canonize(IPAddrBlocks *addr)
v3_addr_get_afi(f)))
return 0;
}
sk_IPAddressFamily_set_cmp_func(addr, IPAddressFamily_cmp);
sk_IPAddressFamily_sort(addr);
assert(v3_addr_is_canonical(addr));
return 1;