Disable public ip timeout by default

This commit is contained in:
Linus Dierheimer
2022-01-12 19:16:49 +01:00
parent accaaa7de5
commit bf2152bac8
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ static void defaultConfig(FFinstance* instance)
instance->config.localIpShowIpV6 = false;
instance->config.localIpShowLoop = false;
instance->config.publicIpTimeout = 250;
instance->config.publicIpTimeout = 0;
}
void ffInitInstance(FFinstance* instance)
+2 -3
View File
@@ -123,9 +123,8 @@
# Public IP timeout option:
# Sets the time to wait for the public ip server to respond.
# Must be a positive integer.
# Set to 0 to disable timeout.
# Default is 250.
#--public-ip-timeout 250
# Default is 0 (disabled).
#--public-ip-timeout 0
# Key options:
# Sets the displayed key of a module
+1 -1
View File
@@ -111,7 +111,7 @@ Module specific options:
--localip-show-ipv4 <?value>: Show ipv4 addresses in local ip module. Default is true
--localip-show-ipv6 <?value>: Show ipv6 addresses in local ip module. Default is false
--localip-show-loop <?value>: Show loop back addresses (127.0.0.1) in local ip module. Default is false
--public-ip-timeout: Time in milliseconds to wait for the public ip server to respond. Default is 250. Set to 0 to disable timeout.
--public-ip-timeout: Time in milliseconds to wait for the public ip server to respond. Default is disabled (0)
Parsing is not case sensitive. E.g. "--lib-PCI" is equal to "--Lib-Pci"
If a value starts with a ?, it is optional. "true" will be used if not set.