From a1cc7f832cc692c9c9917a21355cd6621f6192f2 Mon Sep 17 00:00:00 2001 From: yangwei Date: Thu, 31 Oct 2024 10:36:07 +0800 Subject: 🐞 fix(hit bpf filter behavior): set default as drop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packet_io/packet_io_marsio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packet_io/packet_io_marsio.c b/src/packet_io/packet_io_marsio.c index fe1242b..fd57877 100644 --- a/src/packet_io/packet_io_marsio.c +++ b/src/packet_io/packet_io_marsio.c @@ -807,7 +807,7 @@ static inline int marsio4_pkt_hand(int tid, marsio_buff_t *rx_buff, raw_pkt_t *r raw_pkt->raw_pkt_len, raw_pkt->raw_pkt_len)) { g_marsio_bpf_counter[tid].count++; - return PASS; + return DROP; } } -- cgit v1.2.3