Removed all references to s6_addr32, fixed compilation error.
This commit is contained in:
@@ -81,14 +81,6 @@ AC_C_CONST
|
|||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
AC_HEADER_TIME
|
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
|
||||||
dnl Are we on a system that uses the STREAMS low-level DLPI interface?
|
dnl Are we on a system that uses the STREAMS low-level DLPI interface?
|
||||||
dnl
|
dnl
|
||||||
|
|||||||
@@ -561,8 +561,8 @@ int options_config_get_net_filter6() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Prepare any comparison by masking the provided filtered net. */
|
/* Prepare any comparison by masking the provided filtered net. */
|
||||||
for (j=0; j < 4; ++j)
|
for (j=0; j < 16; ++j)
|
||||||
options.netfilter6net.s6_addr32[j] &= options.netfilter6mask.s6_addr32[j];
|
options.netfilter6net.s6_addr[j] &= options.netfilter6mask.s6_addr[j];
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user