From af5771426bce71cac7d78048ea66f874cfb58f7e Mon Sep 17 00:00:00 2001 From: Loïc Yhuel Date: Fri, 21 Jun 2019 02:03:12 +0200 Subject: luci-app-statistics: add address family configuration for ping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- applications/luci-app-statistics/root/usr/bin/stat-genconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-statistics/root/usr/bin/stat-genconfig') 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" } }, -- cgit v1.2.3