[Listener] Warn in case of unknown rtap field

This commit is contained in:
Matteo Cypriani 2013-04-23 18:49:38 -04:00
parent e7b639a020
commit 6f0d5c8da5
1 changed files with 3 additions and 0 deletions

View File

@ -1375,6 +1375,9 @@ void extract_radiotap_data(const u_char *pkt_data,
rtap_fields[RTAP_FCS] = owl_true;
rtap_position += RTAP_L_FCS ;
break ;
default:
fprintf(stderr, "Warning! Radiotap field not handled: bit"
" %d. This should be investigated.", i) ;
}
}
rtap_presentflags /= 2 ;