mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
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
This commit is contained in:
parent
e7ec537ed5
commit
6dddd35d21
6 changed files with 6 additions and 6 deletions
|
@ -111,7 +111,7 @@ bool RuleConditionPayloadSize::DoMatch(Rule* rule, RuleEndpointState* state,
|
||||||
return payload_size >= val;
|
return payload_size >= val;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
reporter->InternalError("unknown comparision type");
|
reporter->InternalError("unknown comparison type");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Should not be reached
|
// Should not be reached
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
// it may fail to match. Work-around: Insert an always
|
// it may fail to match. Work-around: Insert an always
|
||||||
// matching "payload" pattern (not done in snort2bro yet)
|
// matching "payload" pattern (not done in snort2bro yet)
|
||||||
// - tcp-state always evaluates to true
|
// - tcp-state always evaluates to true
|
||||||
// (implemented but deactivated for comparision to Snort)
|
// (implemented but deactivated for comparison to Snort)
|
||||||
|
|
||||||
uint32 RuleHdrTest::idcounter = 0;
|
uint32 RuleHdrTest::idcounter = 0;
|
||||||
|
|
||||||
|
|
|
@ -437,7 +437,7 @@ bool Serializer::UnserializeCall(UnserialInfo* info)
|
||||||
|
|
||||||
bool Serializer::UnserializeStateAccess(UnserialInfo* info)
|
bool Serializer::UnserializeStateAccess(UnserialInfo* info)
|
||||||
{
|
{
|
||||||
SetErrorDescr("unserializing state acess");
|
SetErrorDescr("unserializing state access");
|
||||||
|
|
||||||
StateAccess* s = StateAccess::Unserialize(info);
|
StateAccess* s = StateAccess::Unserialize(info);
|
||||||
|
|
||||||
|
|
|
@ -150,7 +150,7 @@ bool StateAccess::CheckOld(const char* op, ID* id, Val* index,
|
||||||
|
|
||||||
if ( should && is )
|
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)) )
|
if ( ! (is_atomic_val(is) && is_atomic_val(should)) )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ Config::Config(const string& arg_file, const string& delim)
|
||||||
Target* target = target_factory.Create(tokens[0], tokens[2], tokens[1]);
|
Target* target = target_factory.Create(tokens[0], tokens[2], tokens[1]);
|
||||||
|
|
||||||
if ( ! target )
|
if ( ! target )
|
||||||
reporter->FatalError("unkown Broxygen target type: %s",
|
reporter->FatalError("unknown Broxygen target type: %s",
|
||||||
tokens[0].c_str());
|
tokens[0].c_str());
|
||||||
|
|
||||||
targets.push_back(target);
|
targets.push_back(target);
|
||||||
|
|
|
@ -389,7 +389,7 @@ nb_dns_addr_request2(register struct nb_dns_info *nd, char *addrp,
|
||||||
|
|
||||||
default:
|
default:
|
||||||
snprintf(errstr, NB_DNS_ERRSIZE,
|
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);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue