mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-06 03:45:32 +00:00
This commit is contained in:
parent
442adce51d
commit
1af3d571d9
1 changed files with 1 additions and 0 deletions
1
src/lib/third_party/src/ndpi_patricia.c
vendored
1
src/lib/third_party/src/ndpi_patricia.c
vendored
|
|
@ -769,6 +769,7 @@ ndpi_patricia_lookup (patricia_tree_t *patricia, prefix_t *prefix)
|
|||
}
|
||||
|
||||
new_node = (patricia_node_t*)ndpi_calloc(1, sizeof *new_node);
|
||||
if(!new_node) return NULL;
|
||||
new_node->bit = prefix->bitlen;
|
||||
new_node->prefix = ndpi_Ref_Prefix (prefix);
|
||||
new_node->parent = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue