From: Vadim Kochan <[email protected]>

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 <[email protected]>
---
 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;
-- 
2.3.1

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to