]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1644 in SNORT/snort3 from ~KATHARVE/snort3:ips_policies_bug to...
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Mon, 17 Jun 2019 19:15:06 +0000 (15:15 -0400)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Mon, 17 Jun 2019 19:15:06 +0000 (15:15 -0400)
Squashed commit of the following:

commit 6153c7a79d13ab80939e7763d083c966029bccfd
Author: Katura Harvey <katharve@cisco.com>
Date:   Wed Jun 12 12:04:54 2019 -0400

    detection: fix creation of service map to use ips policy id

src/detection/service_map.cc

index 2b61a540748c3461e167c0276da609e956e5ede4..5795b70b3d0ffcd1c0a8c87ef52afb4a2d843368 100644 (file)
@@ -248,7 +248,7 @@ int fpCreateServiceMaps(SnortConfig* sc)
             policyId < otn->proto_node_num;
             policyId++ )
         {
-            rtn = getRtnFromOtn(otn);
+            rtn = getRtnFromOtn(otn, policyId);
 
             if ( rtn )
             {