diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-08 10:16:17 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-08 10:16:17 +0200 |
commit | fb9f1275adaa63b6c7791ce224346638f33e0708 (patch) | |
tree | 09f9b57d5ff49266d438f5e059557716e10275d2 | |
parent | ca6a0798fe39efb3f1258d9b15f7e02d8c546eb3 (diff) |
config: check for available databases
We need to have: GEOIP_CITY_EDITION_REV1, GEOIP_CITY_EDITION_REV1_V6,
GEOIP_COUNTRY_EDITION, GEOIP_COUNTRY_EDITION_V6, GEOIP_ASNUM_EDITION,
GEOIP_ASNUM_EDITION_V6. Not all might be available on older versions.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -177,6 +177,14 @@ check_libgeoip() void main(void) { GeoIP *geoip; + int dbs[] = { + GEOIP_CITY_EDITION_REV1, + GEOIP_CITY_EDITION_REV1_V6, + GEOIP_COUNTRY_EDITION, + GEOIP_COUNTRY_EDITION_V6, + GEOIP_ASNUM_EDITION, + GEOIP_ASNUM_EDITION_V6, + }; } EOF |