Fix wifi link status
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 10 Mar 2019 04:44:26 +0000 (23:44 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 10 Mar 2019 04:44:26 +0000 (23:44 -0500)
x2/src/awk/exe/bar.awk

index 08750d4..294dc45 100644 (file)
@@ -183,7 +183,7 @@ function bar_make_status_net_wifi(interface,    src) {
 }
 
 function bar_make_status_net_wifi_link(interface,    link) {
-    cache_get_fmt_def(link, "khatus_sensor_net_wifi_status", "link" Kfs interface, 10)
+    cache_get(link, "khatus_sensor_net_wifi_status", "link" Kfs interface, 10)
     if (!link["is_expired"] && link["value"] > 0)
         return sprintf("%d%%", link["value"])
     else
This page took 0.021682 seconds and 4 git commands to generate.