mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes possible crash when collecting IPV4_NEXT_HOP
This commit is contained in:
parent
32f33d4415
commit
3cafee5728
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ bool ZMQParserInterface::parsePENZeroField(ParsedFlow * const flow, u_int32_t fi
|
|||
return false;
|
||||
break;
|
||||
case IPV4_NEXT_HOP:
|
||||
if(strcmp(value->string, "0.0.0.0"))
|
||||
if(value->string && strcmp(value->string, "0.0.0.0"))
|
||||
return false;
|
||||
break;
|
||||
case SRC_AS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue