Module: kamailio
Branch: 5.5
Commit: b62a773c8f0c1daf1aa3d1cd57845d414eea5bac
URL:
https://github.com/kamailio/kamailio/commit/b62a773c8f0c1daf1aa3d1cd57845d4…
Author: Boris Korzun <korzun(a)miatel.ru>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-26T08:14:54+02:00
pike: fixed regression
- removed unnecessary NULL-return from mark_node() after previous commit
(cherry picked from commit 79fbb7c6df5d4c742b1283b752c2df0f51e77f09)
---
Modified: src/modules/pike/ip_tree.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b62a773c8f0c1daf1aa3d1cd57845d4…
Patch:
https://github.com/kamailio/kamailio/commit/b62a773c8f0c1daf1aa3d1cd57845d4…
---
diff --git a/src/modules/pike/ip_tree.c b/src/modules/pike/ip_tree.c
index c0324c0476..1fe9227a5f 100644
--- a/src/modules/pike/ip_tree.c
+++ b/src/modules/pike/ip_tree.c
@@ -301,10 +301,6 @@ pike_ip_node_t* mark_node(unsigned char *ip,int ip_len,
}
}
- if(node==NULL) {
- return NULL;
- }
-
LM_DBG("only first %d were matched!\n",byte_pos);
*flag = 0;
*father = 0;