Skip to content

Commit

Permalink
configure[.in]: adjust fix --disable-mod_ipv6calc to support also EL6
Browse files Browse the repository at this point in the history
databases/lib/libipv6calc_db_wrapper.c: fix for 32 bit systems
  • Loading branch information
pbiering committed Sep 8, 2019
1 parent afb5550 commit 736a66b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -12,6 +12,8 @@ Info:
20190908/PB:
autogen.sh: small bugfix
databases/lib/libipv6calc_db_wrapper_MMDB.c: make clang happy by initialization of "result_MMDB_lookup_sockaddr"
configure[.in]: adjust fix --disable-mod_ipv6calc to support also EL6
databases/lib/libipv6calc_db_wrapper.c: fix for 32 bit systems

20190907/PB:
databases/lib/libipv6calc_db_wrapper_MMDB.c: add support for registered_country (fallback)
Expand Down
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -1417,6 +1417,7 @@ Optional Features:
--enable-mod_ipv6calc Enable build of mod_ipv6calc for Apache (default:
disabled)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
Expand Down Expand Up @@ -6621,7 +6622,6 @@ fi
# Check whether --enable-mod_ipv6calc was given.
if test "${enable_mod_ipv6calc+set}" = set; then :
enableval=$enable_mod_ipv6calc;
fi
Expand Down
6 changes: 2 additions & 4 deletions configure.in
Expand Up @@ -1403,10 +1403,8 @@ dnl mod_ipv6calc / apxs - APache eXtension tool
dnl *************************************************
AC_ARG_ENABLE([mod_ipv6calc],
AS_HELP_STRING([--enable-mod_ipv6calc],
[Enable build of mod_ipv6calc for Apache (default: disabled)]),
[
],[
])
[Enable build of mod_ipv6calc for Apache (default: disabled)])
)

if test "$enable_mod_ipv6calc" = "yes"; then
ENABLE_MOD_IPV6CALC="1"
Expand Down
2 changes: 1 addition & 1 deletion databases/lib/libipv6calc_db_wrapper.c
Expand Up @@ -3642,7 +3642,7 @@ int libipv6calc_db_asn_filter_parse(s_ipv6calc_filter_db_asn *filter, const char
asn = (uint32_t) strtol(token + offset, NULL, 10);

if (errno == ERANGE) {
ERRORPRINT_WA("filter token 'asn=' requires a valid decimal number between 0 and %lu: %s:", (1UL << 32) - 1, token + offset);
ERRORPRINT_WA("filter token 'asn=' requires a valid decimal number between 0 and %lu: %s:", (long unsigned int) 0xffffffff, token + offset);
goto END_ipv6calc_db_asn_filter_parse;
};
};
Expand Down

0 comments on commit 736a66b

Please sign in to comment.