Fix iwconfig parser output to include interface
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 9 Aug 2018 17:36:11 +0000 (13:36 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 9 Aug 2018 17:36:11 +0000 (13:36 -0400)
bin/khatus_parse_iwconfig

index 9a18cfa..e502731 100755 (executable)
@@ -32,6 +32,6 @@
 
 END {
     i = requested_interface
-    status = link[i] ? sprintf("%s %s:%d%%", i, essid[i], link[i]) : "--"
+    status = link[i] ? sprintf("%s %s:%d%%", i, essid[i], link[i]) : i " --"
     print(status)
 }
This page took 0.021965 seconds and 4 git commands to generate.