Commit f6f4b68a authored by pdw's avatar pdw

Removed all references to s6_addr32, fixed compilation error.

parent fc511cfe
......@@ -81,14 +81,6 @@ AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME
dnl At least FeeBSD doesn't define s6_addr32 in user-land code, with a
dnl note saying this is not standard
AC_CHECK_DECL([s6_addr32],
[],
[AC_DEFINE([s6_addr32], [__u6_addr.__u6_addr32],
[Define to a way to access the inner bytes of an ip6 address.])],
[#include <netinet/in.h>])
dnl
dnl Are we on a system that uses the STREAMS low-level DLPI interface?
dnl
......
......@@ -561,8 +561,8 @@ int options_config_get_net_filter6() {
}
}
/* Prepare any comparison by masking the provided filtered net. */
for (j=0; j < 4; ++j)
options.netfilter6net.s6_addr32[j] &= options.netfilter6mask.s6_addr32[j];
for (j=0; j < 16; ++j)
options.netfilter6net.s6_addr[j] &= options.netfilter6mask.s6_addr[j];
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment