From: Russ Combs (rucombs) Date: Thu, 21 Sep 2017 13:54:47 +0000 (-0400) Subject: Merge pull request #1020 in SNORT/snort3 from typos to master X-Git-Tag: 3.0.0-240~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a851f7f454239561e57eb9b4104f511c2e7f07f8;p=thirdparty%2Fsnort3.git Merge pull request #1020 in SNORT/snort3 from typos to master Squashed commit of the following: commit 764e7cd1cfa055c6d0e92a0af6ed2727ec925317 Author: Russ Combs Date: Thu Sep 21 08:37:40 2017 -0400 spell check: fix typos in comments --- diff --git a/src/network_inspectors/binder/binder.cc b/src/network_inspectors/binder/binder.cc index 39ca7846a..ad46996d8 100644 --- a/src/network_inspectors/binder/binder.cc +++ b/src/network_inspectors/binder/binder.cc @@ -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); diff --git a/src/sfip/sf_ipvar.cc b/src/sfip/sf_ipvar.cc index 9e24c3cf3..5a97a8eb2 100644 --- a/src/sfip/sf_ipvar.cc +++ b/src/sfip/sf_ipvar.cc @@ -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);