Commit cdffc716 authored by Ben Laurie's avatar Ben Laurie
Browse files

Set the comparison function in v3_addr_canonize().

parent 5dffc13f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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>]

+1 −0
Original line number Diff line number Diff line
@@ -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;