]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: fix inaccurate comments
authorVictor Julien <victor@inliniac.net>
Fri, 19 Jul 2019 11:48:15 +0000 (13:48 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 19 Jul 2019 14:09:37 +0000 (16:09 +0200)
src/detect.h

index 8ea0a9d5bc71b6e38acff0e3ceeb4e6203bbc902..3bf93273c1897eca17a61149c8844936c5d36f95 100644 (file)
@@ -62,7 +62,6 @@ struct SCSigOrderFunc_;
 struct SCSigSignatureWrapper_;
 
 /*
-
   The detection engine groups similar signatures/rules together. Internally a
   tree of different types of data is created on initialization. This is it's
   global layout:
@@ -71,18 +70,12 @@ struct SCSigSignatureWrapper_;
 
    - Flow direction
    -- Protocol
-   -=- Src address
-   -==- Dst address
-   -===- Src port
-   -====- Dst port
+   -=- Dst port
 
    For the other protocols
 
    - Flow direction
    -- Protocol
-   -=- Src address
-   -==- Dst address
-
 */
 
 /* holds the values for different possible lists in struct Signature.
@@ -153,7 +146,7 @@ typedef struct DetectAddress_ {
     struct DetectAddress_ *next;
 } DetectAddress;
 
-/** Signature grouping head. Here 'any', ipv4 and ipv6 are split out */
+/** Address grouping head. IPv4 and IPv6 are split out */
 typedef struct DetectAddressHead_ {
     DetectAddress *ipv4_head;
     DetectAddress *ipv6_head;