patch-libiptc_libip6tc_c 438 B

1234567891011
  1. --- iptables-snmp-0.1.orig/libiptc/libip6tc.c 2005-07-05 00:11:28.000000000 +0200
  2. +++ iptables-snmp-0.1/libiptc/libip6tc.c 2009-11-13 23:18:45.195701184 +0100
  3. @@ -111,7 +111,7 @@ typedef unsigned int socklen_t;
  4. #include "libiptc.c"
  5. #define BIT6(a, l) \
  6. - ((ntohl(a->in6_u.u6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1)
  7. + ((ntohl(a->s6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1)
  8. int
  9. ipv6_prefix_length(const struct in6_addr *a)