Skip to content

Commit

Permalink
Deprecated option --geoip-city-data in favor of --geoip-database.
Browse files Browse the repository at this point in the history
Closes #1606
  • Loading branch information
allinurl authored and Gerardo committed Nov 28, 2019
1 parent 977da0b commit d9e5493
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ struct option long_opts[] = {
#ifdef HAVE_GEOLOCATION
{"geoip-database" , required_argument , 0 , 0 } ,
#endif
#ifdef HAVE_LIBGEOIP
{"geoip-city-data" , required_argument , 0 , 0 } ,
#endif
#ifdef TCB_BTREE
{"accumulated-time" , no_argument , 0 , 0 } ,
{"cache-lcnum" , required_argument , 0 , 0 } ,
Expand Down Expand Up @@ -618,7 +615,7 @@ parse_long_opt (const char *name, const char *oarg)
/* GEOIP OPTIONS
* ========================= */
/* specifies the path of the GeoIP City database file */
if (!strcmp ("geoip-city-data", name) || !strcmp ("geoip-database", name))
if (!strcmp ("geoip-database", name))
conf.geoip_database = oarg;

/* BTREE OPTIONS
Expand Down

0 comments on commit d9e5493

Please sign in to comment.