luci-mod-network: enforce IPv4 mode for traceroute call
authorJo-Philipp Wich <jo@mein.io>
Wed, 30 Jun 2021 15:21:50 +0000 (17:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 30 Jun 2021 15:23:55 +0000 (17:23 +0200)
commitc4f429461545d1401429e7ba133f24a55d1015b6
treedcc14d86f31ccf959222d27d432104df81591f05
parent81c26a8eb38a0a8f78d0d51e4b5705d0c65a0114
luci-mod-network: enforce IPv4 mode for traceroute call

Recent busybox traceroute applet versions support both IPv4 and IPv6 and
default to IPv6 when running a route trace to an IPv6 enabled target
host. Pass the `-4` flag to enforce IPv4 mode in this case.

Fixes: #5155
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js