diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-05-02 23:07:13 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-05-04 09:41:18 +0200 |
commit | aa6b0e3ae806029e803709bfaf9938ae5b1b785f (patch) | |
tree | ed7f1bb323c96282d0bd2fc375803dfe7dd2851a /proto_80211_mac_hdr.c | |
parent | b0865315c57118d83d7905c2d5e2abace3e6192a (diff) |
netsniff-ng mac80211: Print probe response frame
As Probe Response frame is very similar to Beacon
(except some IEs which are identified dynamically)
so lets just use the same func to dissect it.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_80211_mac_hdr.c')
-rw-r--r-- | proto_80211_mac_hdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto_80211_mac_hdr.c b/proto_80211_mac_hdr.c index c7d4c28..1a4f7cc 100644 --- a/proto_80211_mac_hdr.c +++ b/proto_80211_mac_hdr.c @@ -3083,7 +3083,8 @@ static const char *mgt_sub(u8 subtype, struct pkt_buff *pkt, *get_content = mgmt_probe_request_dissect; return "Probe Request"; case 0x5: - *get_content = mgmt_unimplemented; + /* Probe Response is very similar to Beacon except some IEs */ + *get_content = mgmt_beacon_dissect; return "Probe Response"; case 0x8: *get_content = mgmt_beacon_dissect; |