luci-app-statistics: add address family configuration for ping 2779/head
authorLoïc Yhuel <loic.yhuel@gmail.com>
Fri, 21 Jun 2019 00:03:12 +0000 (02:03 +0200)
committerLoïc Yhuel <loic.yhuel@gmail.com>
Fri, 21 Jun 2019 00:03:12 +0000 (02:03 +0200)
commitaf5771426bce71cac7d78048ea66f874cfb58f7e
treed34e64ad463e0351576c1dcf405b422b22155aa4
parent1154c4198a763aabd7c2fbe0f5419af7c2d04681
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>
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/ping.lua
applications/luci-app-statistics/root/usr/bin/stat-genconfig