[Bro-Dev] [JIRA] (BIT-1577) Fix minor spelling errors

Jeannette Dopheide (JIRA) jira at bro-tracker.atlassian.net
Thu Apr 28 08:10:00 PDT 2016


Jeannette Dopheide created BIT-1577:
---------------------------------------

             Summary: Fix minor spelling errors
                 Key: BIT-1577
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1577
             Project: Bro Issue Tracker
          Issue Type: Task
          Components: Bro
            Reporter: Jeannette Dopheide
            Assignee: Jeannette Dopheide


Fixing minor spelling errors in Bro 2.4.1 found here: 

https://lintian.debian.org/full/bengen@debian.org.html#bro_2.4.1_x2bdfsg-2

Repository : ssh://git@bro-ids.icir.org/bro
On branch  : topic/jdopheid/typos
Link       : https://github.com/bro/bro/commit/6dddd35d218583014938c2ee732cb6a1dfdee0f2

---------------------------------------------------------------

commit 6dddd35d218583014938c2ee732cb6a1dfdee0f2
Author: Jeannette Dopheide <jdopheid at illinois.edu>
Date:   Mon Apr 25 11:49:04 2016 -0500

    Correcting spelling errors found under bro 2.4.1+dfsg-2 here:
    
    https://lintian.debian.org/full/bengen@debian.org.html#bro_2.4.1_x2bdfsg-2


---------------------------------------------------------------

6dddd35d218583014938c2ee732cb6a1dfdee0f2
src/RuleCondition.cc          | 2 +-
src/RuleMatcher.cc            | 2 +-
src/Serializer.cc             | 2 +-
src/StateAccess.cc            | 2 +-
src/broxygen/Configuration.cc | 2 +-
src/nb_dns.c                  | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/RuleCondition.cc b/src/RuleCondition.cc
index 68eb131..40ef5f0 100644
--- a/src/RuleCondition.cc
+++ b/src/RuleCondition.cc
@@ -111,7 +111,7 @@ bool RuleConditionPayloadSize::DoMatch(Rule* rule, RuleEndpointState* state,
		return payload_size >= val;
	default:
-		reporter->InternalError("unknown comparision type");
+		reporter->InternalError("unknown comparison type");
	}
	// Should not be reached
diff --git a/src/RuleMatcher.cc b/src/RuleMatcher.cc
index f40a5c4..f5b5b82 100644
--- a/src/RuleMatcher.cc
+++ b/src/RuleMatcher.cc
@@ -21,7 +21,7 @@
//			it may fail to match. Work-around: Insert an always
//			matching "payload" pattern (not done in snort2bro yet)
//		  - tcp-state always evaluates to true
-//			(implemented but deactivated for comparision to Snort)
+//			(implemented but deactivated for comparison to Snort)
uint32 RuleHdrTest::idcounter = 0;
diff --git a/src/Serializer.cc b/src/Serializer.cc
index 49e57c0..5c1ae60 100644
--- a/src/Serializer.cc
+++ b/src/Serializer.cc
@@ -437,7 +437,7 @@ bool Serializer::UnserializeCall(UnserialInfo* info)
bool Serializer::UnserializeStateAccess(UnserialInfo* info)
	{
-	SetErrorDescr("unserializing state acess");
+	SetErrorDescr("unserializing state access");
	StateAccess* s = StateAccess::Unserialize(info);
diff --git a/src/StateAccess.cc b/src/StateAccess.cc
index aa4a1f3..6e73c8c 100644
--- a/src/StateAccess.cc
+++ b/src/StateAccess.cc
@@ -150,7 +150,7 @@ bool StateAccess::CheckOld(const char* op, ID* id, Val* index,
	if ( should && is )
		{
-		// There's no general comparision for non-atomic vals currently.
+		// There's no general comparison for non-atomic vals currently.
		if ( ! (is_atomic_val(is) && is_atomic_val(should)) )
			return true;
diff --git a/src/broxygen/Configuration.cc b/src/broxygen/Configuration.cc
index 264e8e6..4780e6a 100644
--- a/src/broxygen/Configuration.cc
+++ b/src/broxygen/Configuration.cc
@@ -65,7 +65,7 @@ Config::Config(const string& arg_file, const string& delim)
		Target* target = target_factory.Create(tokens[0], tokens[2], tokens[1]);
		if ( ! target )
-			reporter->FatalError("unkown Broxygen target type: %s",
+			reporter->FatalError("unknown Broxygen target type: %s",
			                     tokens[0].c_str());
		targets.push_back(target);
diff --git a/src/nb_dns.c b/src/nb_dns.c
index 1e5d427..35059ab 100644
--- a/src/nb_dns.c
+++ b/src/nb_dns.c
@@ -389,7 +389,7 @@ nb_dns_addr_request2(register struct nb_dns_info *nd, char *addrp,
	default:
		snprintf(errstr, NB_DNS_ERRSIZE,
-		    "nb_dns_addr_request2(): uknown address family %d", af);
+		    "nb_dns_addr_request2(): unknown address family %d", af);
		return (-1);
	}



_______________________________________________
bro-commits mailing list
bro-commits at bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-commits



--
This message was sent by Atlassian JIRA
(v1000.5.0#72002)


More information about the bro-dev mailing list