From 18f1fabbcdc82a6873a28f9f4ac71119aeb78e56 Mon Sep 17 00:00:00 2001 From: hackbard Date: Wed, 25 Sep 2002 19:21:52 +0000 Subject: [PATCH] added debug symbols to figure out about frame ctl --- hdw-sniff.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hdw-sniff.c b/hdw-sniff.c index 13c56ab..0afd857 100644 --- a/hdw-sniff.c +++ b/hdw-sniff.c @@ -106,6 +106,13 @@ void pcap_process(u_char *info,const struct pcap_pkthdr *pcap_header, (strncmp(my_info_struct->dev,"wlan",4)==0)) { printf("ieee802.11 header:\n"); w_hdr=(struct ieee802_11_hdr *)package; + + printf("debug:\n"); + for(i=0;i<16;i++) { + printf("%x -> ",1<frame_ctl & 1<frame_ctl), ntohs(w_hdr->duration_id)); /* skip ieee802.11 header */ -- 2.39.2