Browse Source

mwan3: remove unused device lookup in status check

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
lilik-openwrt-22.03
Aaron Goodman 4 years ago
parent
commit
c336e5d682
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      net/mwan3/files/usr/libexec/rpcd/mwan3

+ 1
- 2
net/mwan3/files/usr/libexec/rpcd/mwan3 View File

@ -77,9 +77,8 @@ get_mwan3_status() {
local online=0
local offline=0
local up="0"
local enabled device time_p time_n time_u time_d status track_status
local enabled time_p time_n time_u time_d status track_status
network_get_device device $1
if [ "${iface}" = "${iface_select}" ] || [ "${iface_select}" = "" ]; then
track_status="$(mwan3_get_mwan3track_status "$1")"


Loading…
Cancel
Save