diff options
author | Aaron Goodman <aaronjg@stanford.edu> | 2020-11-10 08:50:39 -0500 |
---|---|---|
committer | Aaron Goodman <aaronjg@stanford.edu> | 2020-11-10 08:50:39 -0500 |
commit | c336e5d682cf672d48247e83712ddb0203ec2288 (patch) | |
tree | 300f77dac5a689c84bdb2fe9d0773cc1ff40614d /net/mwan3 | |
parent | b849fc73fb61e4d33017621d59cd8f56d3ee7d9a (diff) |
mwan3: remove unused device lookup in status check
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
Diffstat (limited to 'net/mwan3')
-rwxr-xr-x | net/mwan3/files/usr/libexec/rpcd/mwan3 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mwan3/files/usr/libexec/rpcd/mwan3 b/net/mwan3/files/usr/libexec/rpcd/mwan3 index a97b33d5c..7368b3be3 100755 --- a/net/mwan3/files/usr/libexec/rpcd/mwan3 +++ b/net/mwan3/files/usr/libexec/rpcd/mwan3 @@ -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")" |