Browse Source

ip2net: fix comparision

pull/127/head
bol-van 3 years ago
parent
commit
c2754cc347
  1. BIN
      binaries/aarch64/ip2net
  2. BIN
      binaries/arm/ip2net
  3. BIN
      binaries/mips32r1-lsb/ip2net
  4. BIN
      binaries/mips32r1-msb/ip2net
  5. BIN
      binaries/mips64r2-msb/ip2net
  6. BIN
      binaries/ppc/ip2net
  7. BIN
      binaries/x86/ip2net
  8. BIN
      binaries/x86_64/ip2net
  9. 2
      ip2net/ip2net.c

BIN
binaries/aarch64/ip2net

Binary file not shown.

BIN
binaries/arm/ip2net

Binary file not shown.

BIN
binaries/mips32r1-lsb/ip2net

Binary file not shown.

BIN
binaries/mips32r1-msb/ip2net

Binary file not shown.

BIN
binaries/mips64r2-msb/ip2net

Binary file not shown.

BIN
binaries/ppc/ip2net

Binary file not shown.

BIN
binaries/x86/ip2net

Binary file not shown.

BIN
binaries/x86_64/ip2net

Binary file not shown.

2
ip2net/ip2net.c

@ -92,7 +92,7 @@ static int cmp6(const void * a, const void * b, void *arg)
aa = ((uint64_t*)((struct in6_addr *)a)->s6_addr)[1];
bb = ((uint64_t*)((struct in6_addr *)b)->s6_addr)[1];
#endif
return aa < bb ? -1 : aa < bb ? 1 : 0;
return aa < bb ? -1 : aa > bb ? 1 : 0;
}
#else

Loading…
Cancel
Save