[Listener] Check SS field before to print it

This commit is contained in:
Matteo Cypriani 2011-05-03 13:38:50 +02:00
parent eb61dfc0e0
commit be784c8ec0
1 changed files with 2 additions and 1 deletions

View File

@ -1065,7 +1065,8 @@ void read_packet(u_char *args, const struct pcap_pkthdr *header,
owl_mac_bytes_to_string(request.mobile_mac_addr_bytes),
request_time_str,
start_time_str,
request.antenna_signal_dbm - 0x100,
check[RTAP_ANTENNASIGNALDBM] ?
request.antenna_signal_dbm - 0x100 : 0,
owl_ntohf(request.x_position),
owl_ntohf(request.y_position),
owl_ntohf(request.z_position),