Changeset 4892
- Timestamp:
- 01/20/09 22:37:33 (4 years ago)
- File:
-
- 1 edited
-
developers/werner/bin/wlanscan (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
developers/werner/bin/wlanscan
r4693 r4892 3 3 function flush() 4 4 { 5 printf("%3s %-32s % 9s dBm %s\n", cell, essid, signal, crypt)5 printf("%3s %-32s %2s %9s dBm %s\n", cell, essid, chan, signal, crypt) 6 6 cell = "?" 7 7 essid = "?" 8 8 signal = "?" 9 9 crypt = "?" 10 chan = "?" 10 11 } 11 12 … … 38 39 crypt = "WPA" 39 40 } 41 /^ *Frequency:/ { 42 match($0, /Channel [0-9]*/) 43 chan = substr($0, RSTART+8, RLENGTH-8) 44 } 40 45 END { 41 46 if (cell != "")
Note: See TracChangeset
for help on using the changeset viewer.
