netsniff-ng mac80211: Print IE prefix before param
commit93de7b524a3cea6f820dd1679472dc84b55bcaa1
authorVadim Kochan <vadim4j@gmail.com>
Tue, 28 Apr 2015 14:56:02 +0000 (28 17:56 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Sat, 2 May 2015 15:18:37 +0000 (2 17:18 +0200)
tree3f631a442961ee0f370ce265346d896d8601a560
parent6b85cfef15902cac483e922c0bcf1f055ba7ed4e
netsniff-ng mac80211: Print IE prefix before param

Print 'IE:' prefix before each mgmt IE parameter which
should be more readable and it allows easy identify next element
while the listing the big one:

Also removed 1 TAB in "HT Capabilities" fields.

P mon0 288 1430230360s.696547150ns
 [ Radiotap Version (0), Length (26), Flags (0x0000482f) ]
 [ 802.11 Frame Control (0x0080)]
 [ Proto Version (0), Type (0, Management), Duration (0),
Destination (ff:ff:ff:ff:ff:ff)
Source (00:00:00:00:01:13) => (XEROX CORPORATION:00:01:13)
BSSID (00:00:00:00:01:13) => (XEROX CORPORATION:00:01:13)
Fragmentnr. (0), Seqnr. (2844). Subtype (8, Beacon) ]
 [ Subtype Beacon: Timestamp 0x0000000021ac5c5c, Beacon Interval (0.102400s)
   ment;)
IE: SSID (0, Len (6)): 000114
IE: Supp. Rates (1, Len (8)): 1(B) 2(B) 5.5(B) 11(B) 18 24(B) 4 22
IE: DSSS Param Set (3, Len(1)): Current Channel: 1
IE: TIM (5, Len(4)): DTIM Count: 0, DTIM Period: 1
IE: ERP (42, Len(1)): Non ERP Present (0), Use Protection (0)
IE: Reserved (47, Len (1)): Data 0x00
IE:Failed to dissect Subtype ]

Yeah ... 'IE:' is also printed before 'Failed to dissect Subtype',
which just indicates that rest IE params were not identified.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_80211_mac_hdr.c