diff options
Diffstat (limited to 'src/lib/protocols/ubntac2.c')
-rw-r--r-- | src/lib/protocols/ubntac2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/ubntac2.c b/src/lib/protocols/ubntac2.c index 49a63ed0a..b2d3f5ab4 100644 --- a/src/lib/protocols/ubntac2.c +++ b/src/lib/protocols/ubntac2.c @@ -55,7 +55,8 @@ void ndpi_search_ubntac2(struct ndpi_detection_module_struct *ndpi_struct, struc if(found < packet->payload_packet_len) { char version[256]; - int i, j, len; + int len; + u_int i, j; for(i=found, j=0; (i < packet->payload_packet_len) && (i < (sizeof(version)-1)) |