Browse code

pike: fixed regression - removed unnecessary NULL-return from mark_node() after previous commit

(cherry picked from commit 79fbb7c6df5d4c742b1283b752c2df0f51e77f09)
(cherry picked from commit b62a773c8f0c1daf1aa3d1cd57845d414eea5bac)

Boris Korzun authored on 25/05/2021 14:14:18 • Daniel-Constantin Mierla committed on 24/09/2021 16:06:32
Showing 1 changed files
... ...
@@ -301,10 +301,6 @@ pike_ip_node_t* mark_node(unsigned char *ip,int ip_len,
301 301
 		}
302 302
 	}
303 303
 
304
-	if(node==NULL) {
305
-		return NULL;
306
-	}
307
-
308 304
 	LM_DBG("only first %d were matched!\n",byte_pos);
309 305
 	*flag = 0;
310 306
 	*father = 0;