From aa6b0e3ae806029e803709bfaf9938ae5b1b785f Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Sat, 2 May 2015 23:07:13 +0300 Subject: 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 Signed-off-by: Tobias Klauser --- proto_80211_mac_hdr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf