Set the comparison function in v3_addr_canonize().
This commit is contained in:
parent
5dffc13f55
commit
cdffc716c9
3
CHANGES
3
CHANGES
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
Changes between 0.9.8i and 0.9.8j [xx XXX xxxx]
|
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.
|
*) Add support for XMPP STARTTLS in s_client.
|
||||||
[Philip Paeps <philip@freebsd.org>]
|
[Philip Paeps <philip@freebsd.org>]
|
||||||
|
|
||||||
|
@ -878,6 +878,7 @@ int v3_addr_canonize(IPAddrBlocks *addr)
|
|||||||
v3_addr_get_afi(f)))
|
v3_addr_get_afi(f)))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
sk_IPAddressFamily_set_cmp_func(addr, IPAddressFamily_cmp);
|
||||||
sk_IPAddressFamily_sort(addr);
|
sk_IPAddressFamily_sort(addr);
|
||||||
assert(v3_addr_is_canonical(addr));
|
assert(v3_addr_is_canonical(addr));
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user