diff --git a/README.md b/README.md index 0c095bf8..5a31b318 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Possible settings (**the option shown first is the default**): - `QUERY_DISPLAY=yes|no` (Display all queries? Set to `no` to hide query display) - `AAAA_QUERY_ANALYSIS=yes|no` (Allow `FTL` to analyze AAAA queries from pihole.log?) - `MAXDBDAYS=365` (How long should queries be stored in the database? Setting this to `0` disables the database altogether) -- `RESOLVEIPV6=yes|no` (Should `FTL` try to resolve IPv6 addresses to host names?) +- `RESOLVE_IPV6=yes|no` (Should `FTL` try to resolve IPv6 addresses to host names?) ### Implemented keywords (starting with `>`, subject to change): diff --git a/config.c b/config.c index 8df8f1ca..c6953c5a 100644 --- a/config.c +++ b/config.c @@ -111,19 +111,19 @@ void read_FTLconf(void) else logg(" MAXDBDAYS: max age for stored queries is %i days", config.maxDBdays); - // RESOLVEIPV6 + // RESOLVE_IPV6 // defaults to: Yes config.resolveIPv6 = true; - buffer = parse_FTLconf(fp, "RESOLVEIPV6"); + buffer = parse_FTLconf(fp, "RESOLVE_IPV6"); if(buffer != NULL) { if(strcmp(buffer, "no") == 0) config.resolveIPv6 = false; } if(config.resolveIPv6) - logg(" RESOLVEIPV6: Resolve IPv6 addresses"); + logg(" RESOLVE_IPV6: Resolve IPv6 addresses"); else - logg(" RESOLVEIPV6: Don\'t resolve IPv6 addresses"); + logg(" RESOLVE_IPV6: Don\'t resolve IPv6 addresses"); logg("Finished config file parsing");