Changed name to RESOLVE_IPV6

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2017-10-01 21:45:44 +02:00
parent 7e8e06101b
commit 0689f2cb69
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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):
+4 -4
View File
@@ -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");