Fix some compilation warnings
This commit is contained in:
@@ -129,19 +129,24 @@ void ndpi_check_rx(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
header->flags == PLUS_2 || header->flags == REQ_ACK ||
|
||||
header->flags == MORE_1)
|
||||
goto security;
|
||||
/* Fall-through */
|
||||
case ACK:
|
||||
if(header->flags == CLIENT_INIT_1 || header->flags == CLIENT_INIT_2 ||
|
||||
header->flags == EMPTY)
|
||||
goto security;
|
||||
/* Fall-through */
|
||||
case CHALLENGE:
|
||||
if(header->flags == EMPTY || header->call_number == 0)
|
||||
goto security;
|
||||
/* Fall-through */
|
||||
case RESPONSE:
|
||||
if(header->flags == EMPTY || header->call_number == 0)
|
||||
goto security;
|
||||
/* Fall-through */
|
||||
case ACKALL:
|
||||
if(header->flags == EMPTY)
|
||||
goto security;
|
||||
/* Fall-through */
|
||||
case BUSY:
|
||||
goto security;
|
||||
case ABORT:
|
||||
|
||||
Reference in New Issue
Block a user