luci-mod-network: diagnostics.js: don't pass IP version flag to ping6 4515/head
authorMartin Schiller <ms@dev.tdt.de>
Wed, 14 Oct 2020 11:12:03 +0000 (13:12 +0200)
committerMartin Schiller <ms@dev.tdt.de>
Wed, 14 Oct 2020 11:12:03 +0000 (13:12 +0200)
commit0f1a793aeaed7159a6536a3aee2404d602038921
treef102532d58a23e09acd41de293414a89de705d9b
parent678c0b2d5ba77092ca4c422b6a3c3e3eefe86b01
luci-mod-network: diagnostics.js: don't pass IP version flag to ping6

Passing "-6" to ping6 from the iputils package will lead to the
following error:
"ping6: only one -4 or -6 option may be specified"

It does not make sense either.

Fixes: 547776327a71 ("luci-mod-network: diagnostics.js: pass IP version flag to ping/ping6")
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js