You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB

  1. From 638bb8d70d6c7e5dc99975e0bf57d8ce0455e2cc Mon Sep 17 00:00:00 2001
  2. From: Paul Fertser <fercerpav@gmail.com>
  3. Date: Tue, 10 Jul 2012 11:25:00 +0400
  4. Subject: [PATCH 3/3] wash/wpsmon: use less useless spaces in output to fit
  5. narrow terminals
  6. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
  7. ---
  8. src/wpsmon.c | 6 +++---
  9. 1 files changed, 3 insertions(+), 3 deletions(-)
  10. diff --git a/src/wpsmon.c b/src/wpsmon.c
  11. index 22a394f..e0948b3 100644
  12. --- a/src/wpsmon.c
  13. +++ b/src/wpsmon.c
  14. @@ -262,8 +262,8 @@ void monitor(char *bssid, int passive, int source, int channel, int mode)
  15. if(!header_printed)
  16. {
  17. - cprintf(INFO, "BSSID Channel RSSI WPS Version WPS Locked ESSID\n");
  18. - cprintf(INFO, "---------------------------------------------------------------------------------------------------------------\n");
  19. + cprintf(INFO, "BSSID Channel RSSI WPS Version WPS Locked ESSID\n");
  20. + cprintf(INFO, "--------------------------------------------------------------------------------------\n");
  21. header_printed = 1;
  22. }
  23. @@ -360,7 +360,7 @@ void parse_wps_settings(const u_char *packet, struct pcap_pkthdr *header, char *
  24. break;
  25. }
  26. - cprintf(INFO, "%17s %2d %.2d %d.%d %s %s\n", bssid, channel, rssi, (wps->version >> 4), (wps->version & 0x0F), lock_display, ssid);
  27. + cprintf(INFO, "%17s %2d %.2d %d.%d %s %s\n", bssid, channel, rssi, (wps->version >> 4), (wps->version & 0x0F), lock_display, ssid);
  28. }
  29. if(probe_sent)
  30. --
  31. 1.7.7