[Listener] packet_type is now unsigned

This commit is contained in:
Matteo Cypriani 2010-11-23 19:00:24 +01:00
parent 8474fef520
commit 4a89410b49
1 changed files with 2 additions and 1 deletions

View File

@ -488,7 +488,8 @@ void read_packet(u_char *args, const struct pcap_pkthdr *header,
struct iphdr *packet_ip_header = NULL ;
// Pointer to the (possible) UDP header of the packet:
struct udphdr *packet_udp_header = NULL ;
char packet_type ; // Localisation request type (request, calibration)
// Localisation request type (request, calibration, autocalibration):
unsigned char packet_type ;
BOOL is_explicit_packet = TRUE ; // Is the packet an explicit request?
int i ; // Iterator