[Listener] Warn in case of unknown rtap field
This commit is contained in:
parent
e7b639a020
commit
6f0d5c8da5
|
@ -1375,6 +1375,9 @@ void extract_radiotap_data(const u_char *pkt_data,
|
||||||
rtap_fields[RTAP_FCS] = owl_true;
|
rtap_fields[RTAP_FCS] = owl_true;
|
||||||
rtap_position += RTAP_L_FCS ;
|
rtap_position += RTAP_L_FCS ;
|
||||||
break ;
|
break ;
|
||||||
|
default:
|
||||||
|
fprintf(stderr, "Warning! Radiotap field not handled: bit"
|
||||||
|
" %d. This should be investigated.", i) ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rtap_presentflags /= 2 ;
|
rtap_presentflags /= 2 ;
|
||||||
|
|
Loading…
Reference in New Issue