mwan3: remove unused device lookup in status check
authorAaron Goodman <aaronjg@stanford.edu>
Tue, 10 Nov 2020 13:50:39 +0000 (08:50 -0500)
committerAaron Goodman <aaronjg@stanford.edu>
Tue, 10 Nov 2020 13:50:39 +0000 (08:50 -0500)
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
net/mwan3/files/usr/libexec/rpcd/mwan3

index a97b33d5cf337cda36fa71710dce31a8593c96e6..7368b3be3550fcbf79bae942e23f54481120624a 100755 (executable)
@@ -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")"