From 4aeb606a9718d10ab581f502513c51254e1f044e Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 30 Oct 2024 08:52:08 +0100 Subject: [PATCH] detect/ip-only: remove dead code --- src/detect-engine-iponly.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/detect-engine-iponly.c b/src/detect-engine-iponly.c index 6143f83e57..2143b333ab 100644 --- a/src/detect-engine-iponly.c +++ b/src/detect-engine-iponly.c @@ -1220,7 +1220,6 @@ void IPOnlyPrepare(DetectEngineCtx *de_ctx) SCLogError("Error inserting in the" " src ipv4 radix tree ip %s netmask %" PRIu8, tmpstr, src->netmask); - //SCRadixPrintTree((de_ctx->io_ctx).tree_ipv4src); exit(-1); } } @@ -1493,20 +1492,6 @@ void IPOnlyPrepare(DetectEngineCtx *de_ctx) dst = dst->next; SCFree(tmpaux); } - - /* print all the trees: for debugging it might print too much info - SCLogDebug("Radix tree src ipv4:"); - SCRadixPrintTree((de_ctx->io_ctx).tree_ipv4src); - SCLogDebug("Radix tree src ipv6:"); - SCRadixPrintTree((de_ctx->io_ctx).tree_ipv6src); - SCLogDebug("__________________"); - - SCLogDebug("Radix tree dst ipv4:"); - SCRadixPrintTree((de_ctx->io_ctx).tree_ipv4dst); - SCLogDebug("Radix tree dst ipv6:"); - SCRadixPrintTree((de_ctx->io_ctx).tree_ipv6dst); - SCLogDebug("__________________"); - */ } /** -- 2.47.2