Set the comparison function in v3_addr_canonize().
This commit is contained in:
parent
5dffc13f55
commit
cdffc716c9
2 changed files with 4 additions and 0 deletions
3
CHANGES
3
CHANGES
|
@ -4,6 +4,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>]
|
||||
|
||||
|
|
|
@ -878,6 +878,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;
|
||||
|
|
Loading…
Reference in a new issue