]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1020 in SNORT/snort3 from typos to master
authorRuss Combs (rucombs) <rucombs@cisco.com>
Thu, 21 Sep 2017 13:54:47 +0000 (09:54 -0400)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Thu, 21 Sep 2017 13:54:47 +0000 (09:54 -0400)
Squashed commit of the following:

commit 764e7cd1cfa055c6d0e92a0af6ed2727ec925317
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Sep 21 08:37:40 2017 -0400

    spell check: fix typos in comments

src/network_inspectors/binder/binder.cc
src/sfip/sf_ipvar.cc

index 39ca7846a70c691471dc9f71718a5375226c49e9..ad46996d81b37b67dbaaedd15ff38357c3cdb214 100644 (file)
@@ -455,7 +455,7 @@ bool Binder::configure(SnortConfig* sc)
     {
         pb = bindings[i];
 
-        // Update with actual policy indicies instead of user provided names
+        // Update with actual policy indices instead of user provided names
         if ( pb->when.ips_id )
         {
             IpsPolicy* p = sc->policy_map->get_user_ips(pb->when.ips_id);
index 9e24c3cf379cbbf277db647da4f473a73e172cbe..5a97a8eb2ec7583bb43e431d447942fbb24837d4 100644 (file)
@@ -1201,7 +1201,7 @@ TEST_CASE("SfIpVarCopyAddCompare", "[SfIpVar]")
     // compare to original
     CHECK(SFIP_EQUAL == sfvar_compare(var1, var2));
 
-    // add a negate node to orignal list
+    // add a negate node to original list
     node = sfipnode_alloc("!192.168.3.2", NULL);
     CHECK(node != NULL);
     CHECK(SFIP_SUCCESS == sfvar_add_node(var1, node, 1));
@@ -1238,7 +1238,7 @@ TEST_CASE("SfIpVarAny", "[SfIpVar]")
     // try to add list to any
     CHECK(sfvt_add_str(table, "goo [ 255.255.241.0, 192.168.2.1] ", &var2) == SFIP_SUCCESS);
     CHECK(SFIP_SUCCESS == sfvar_add(var1, var2));
-    // adding somthing to any should not change any
+    // adding something to any should not change any
     print_var_list(var1->head);
     CHECK(!strcmp("any", sfipvar_test_buff));
 
@@ -1247,7 +1247,7 @@ TEST_CASE("SfIpVarAny", "[SfIpVar]")
     CHECK(node != NULL);
     CHECK(SFIP_SUCCESS == sfvar_add_node(var1, node, 0));
 
-    // after adding any, the orignal list should have any only
+    // after adding any, the original list should have any only
     print_var_list(var1->head);
     CHECK(!strcmp("any", sfipvar_test_buff));
     CHECK(var1->head_count == 1);