From: Kaushal Bhandankar (kbhandan) Date: Wed, 27 Sep 2023 17:35:23 +0000 (+0000) Subject: Pull request #4018: active: added API for printing delayed action string X-Git-Tag: 3.1.72.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8d47b5400a0c3a8f12c71b0eba0f6c8f4a3727;p=thirdparty%2Fsnort3.git Pull request #4018: active: added API for printing delayed action string Merge in SNORT/snort3 from ~KBHANDAN/snort3:file_verdict to master Squashed commit of the following: commit 68a43601dfb338206704a6bf64ac01cec05fa046 Author: Kaushal Bhandankar Date: Sat Sep 23 11:06:59 2023 +0530 active: added API for printing delayed action string --- diff --git a/src/packet_io/active.h b/src/packet_io/active.h index 14fa5cc54..30e4ad34a 100644 --- a/src/packet_io/active.h +++ b/src/packet_io/active.h @@ -117,6 +117,9 @@ public: const char* get_action_string() const { return act_str[active_action][active_status]; } + const char* get_delayed_action_string() const + { return act_str[delayed_active_action][active_status]; } + void update_status(const Packet*, bool force = false); void drop_packet(const Packet*, bool force = false);