From e4d3f17fbb3efce9e29c86838a09fa1f9e224fd3 Mon Sep 17 00:00:00 2001
From: compile_success <980965867@qq.com>
Date: Tue, 16 Apr 2024 03:46:12 +0000
Subject: [PATCH] add tuple_fileter error info

---
 src/lstack/core/lstack_cfg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lstack/core/lstack_cfg.c b/src/lstack/core/lstack_cfg.c
index b533a33..533eb6c 100644
--- a/src/lstack/core/lstack_cfg.c
+++ b/src/lstack/core/lstack_cfg.c
@@ -1159,6 +1159,7 @@ static int parse_tuple_filter(void)
         return 0;
     }
     if (g_config_params.use_ltran || g_config_params.listen_shadow) {
+	LSTACK_LOG(ERR, LSTACK, "tuple filter and (ltran or listen_shadow) cannot be enabled at the same time\n");
         return -EINVAL;
     }
 
-- 
2.33.0

