]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: remove misleading comment
authorShivani Bhardwaj <shivani@oisf.net>
Tue, 21 Nov 2023 08:50:49 +0000 (14:20 +0530)
committerVictor Julien <victor@inliniac.net>
Tue, 5 Dec 2023 10:33:09 +0000 (11:33 +0100)
The comment seems to have come from the enum for addresses where IPv4
and IPv6 matters.

src/detect.h

index 90ac0d7206a6d10d83106783f687d1bfc98287cf..3861b603d801d5675852f7f2e8f284591a3cfbfb 100644 (file)
@@ -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]  */