From: Shivani Bhardwaj Date: Tue, 21 Nov 2023 08:50:49 +0000 (+0530) Subject: detect: remove misleading comment X-Git-Tag: suricata-8.0.0-beta1~1981 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77eb85e2243cc395b3076faaaa07fb9191fd744d;p=thirdparty%2Fsuricata.git detect: remove misleading comment The comment seems to have come from the enum for addresses where IPv4 and IPv6 matters. --- diff --git a/src/detect.h b/src/detect.h index 90ac0d7206..3861b603d8 100644 --- a/src/detect.h +++ b/src/detect.h @@ -193,7 +193,7 @@ typedef struct DetectMatchAddressIPv6_ { /* a is ... than b */ enum { - PORT_ER = -1, /* error e.g. compare ipv4 and ipv6 */ + PORT_ER = -1, /* error */ PORT_LT, /* smaller [aaa] [bbb] */ PORT_LE, /* smaller with overlap [aa[bab]bb] */ PORT_EQ, /* exactly equal [abababab] */