luci-app-mwan3: pin diag ping command to interface device 1787/head
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 9 May 2018 11:48:27 +0000 (13:48 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 9 May 2018 12:20:03 +0000 (14:20 +0200)
commitee54a9542f7685ffa7c41ceaacedc0af9004d1a0
treea39c9e8322105b3faa2b7504cf3c9bb94e2899f1
parentf50de419592d58160f15a04978b0de6e94b854fb
luci-app-mwan3: pin diag ping command to interface device

If the physical device is not set in the diag_command then the ping will
always use the route with the lowest metric from the default routing
table.
To fix this add the physical device of the logical interface to the ping
command.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-mwan3/luasrc/controller/mwan3.lua