diff options
author | Loïc Yhuel <loic.yhuel@gmail.com> | 2019-06-21 02:03:12 +0200 |
---|---|---|
committer | Loïc Yhuel <loic.yhuel@gmail.com> | 2019-06-21 02:03:12 +0200 |
commit | af5771426bce71cac7d78048ea66f874cfb58f7e (patch) | |
tree | d34e64ad463e0351576c1dcf405b422b22155aa4 /applications/luci-app-statistics/root/usr/bin/stat-genconfig | |
parent | 1154c4198a763aabd7c2fbe0f5419af7c2d04681 (diff) |
luci-app-statistics: add address family configuration for ping
It allows to force ipv4 or ipv6 when the DNS returns both addresses, but
only one works (for example if there is no ipv6 connectivity).
Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com>
Diffstat (limited to 'applications/luci-app-statistics/root/usr/bin/stat-genconfig')
-rwxr-xr-x | applications/luci-app-statistics/root/usr/bin/stat-genconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/root/usr/bin/stat-genconfig b/applications/luci-app-statistics/root/usr/bin/stat-genconfig index 55cc6979e5..cb091ae672 100755 --- a/applications/luci-app-statistics/root/usr/bin/stat-genconfig +++ b/applications/luci-app-statistics/root/usr/bin/stat-genconfig @@ -411,7 +411,7 @@ plugins = { }, ping = { - { "TTL", "Interval" }, + { "TTL", "Interval", "AddressFamily" }, { }, { "Hosts" } }, |