diff --git a/CHANGES b/CHANGES index 1b20a87957..60b1e23d70 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4678. [bug] geoip-use-ecs has the wrong type when geoip support + is disabled at configure time. [RT #45763] + 4677. [cleanup] Split up the main function in dig to better support the iOS app version. [RT #45508] diff --git a/lib/isccfg/namedconf.c b/lib/isccfg/namedconf.c index 76613b1469..852350a197 100644 --- a/lib/isccfg/namedconf.c +++ b/lib/isccfg/namedconf.c @@ -1081,8 +1081,7 @@ options_clauses[] = { #else { "geoip-directory", &cfg_type_qstringornone, CFG_CLAUSEFLAG_NOTCONFIGURED }, - { "geoip-use-ecs", &cfg_type_qstringornone, - CFG_CLAUSEFLAG_NOTCONFIGURED }, + { "geoip-use-ecs", &cfg_type_boolean, CFG_CLAUSEFLAG_NOTCONFIGURED }, #endif /* HAVE_GEOIP */ { "has-old-clients", &cfg_type_boolean, CFG_CLAUSEFLAG_OBSOLETE }, { "heartbeat-interval", &cfg_type_uint32, 0 },