From: Victor Julien Date: Tue, 18 Jun 2024 04:54:28 +0000 (+0200) Subject: detect/icmp-id: remove prefilter pseudo check X-Git-Tag: suricata-8.0.0-beta1~1140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3e917d96751016f3d9843aca5d8546e615be142;p=thirdparty%2Fsuricata.git detect/icmp-id: remove prefilter pseudo check This is now handled at registration with SIG_MASK_REQUIRE_REAL_PKT. --- diff --git a/src/detect-icmp-id.c b/src/detect-icmp-id.c index d8727c7aa4..f29cc0f747 100644 --- a/src/detect-icmp-id.c +++ b/src/detect-icmp-id.c @@ -75,9 +75,6 @@ void DetectIcmpIdRegister (void) static inline bool GetIcmpId(Packet *p, uint16_t *id) { - if (PKT_IS_PSEUDOPKT(p)) - return false; - uint16_t pid; if (PacketIsICMPv4(p)) { switch (p->icmp_s.type) {