Fix some spelling errors.

This commit is contained in:
Martin Mathieson 2021-09-27 09:17:16 +01:00
parent 9a5b9dbca3
commit a156d7d05d
7 changed files with 28 additions and 14 deletions

View File

@ -705,7 +705,7 @@ INT Dot11DecryptScanTdlsForKeys(
} }
if (length < min_length || tot_len < offset + 2 + length) { if (length < min_length || tot_len < offset + 2 + length) {
ws_debug("Invalid length reconds in IEs"); ws_debug("Invalid length records in IEs");
return DOT11DECRYPT_RET_NO_VALID_HANDSHAKE; return DOT11DECRYPT_RET_NO_VALID_HANDSHAKE;
} }
offset += 2 + length; offset += 2 + length;

View File

@ -4647,7 +4647,7 @@ proto_register_h265(void)
static ei_register_info ei[] = { static ei_register_info ei[] = {
{ &ei_h265_undecoded,{ "h265.undecoded", PI_UNDECODED, PI_WARN, "[Not decoded yet]", EXPFILL } }, { &ei_h265_undecoded,{ "h265.undecoded", PI_UNDECODED, PI_WARN, "[Not decoded yet]", EXPFILL } },
{ &ei_h265_oversized_exp_golomb_code, {"h265.oversized_exp_golomb_code", PI_MALFORMED, PI_ERROR, "Exponentional Golomb encoded value greater than 32 bit integer, clamped", EXPFILL } }, { &ei_h265_oversized_exp_golomb_code, {"h265.oversized_exp_golomb_code", PI_MALFORMED, PI_ERROR, "Exponential Golomb encoded value greater than 32 bit integer, clamped", EXPFILL } },
{ &ei_h265_value_to_large,{ "h265.value_to_large", PI_PROTOCOL, PI_ERROR, "[Value to large, protocol violation]", EXPFILL } }, { &ei_h265_value_to_large,{ "h265.value_to_large", PI_PROTOCOL, PI_ERROR, "[Value to large, protocol violation]", EXPFILL } },
{ &ei_h265_format_specific_parameter,{ "h265.format_specific_parameter", PI_UNDECODED, PI_WARN, "[Unspecified media format specific parameter]", EXPFILL } }, { &ei_h265_format_specific_parameter,{ "h265.format_specific_parameter", PI_UNDECODED, PI_WARN, "[Unspecified media format specific parameter]", EXPFILL } },
}; };

View File

@ -11867,7 +11867,7 @@ proto_register_isup(void)
#endif #endif
{ &hf_japan_isup_carrier_info_length, { &hf_japan_isup_carrier_info_length,
{ "Length of Carrier Information", "isup.jpn.arrier_info_length", { "Length of Carrier Information", "isup.jpn.carrier_info_length",
FT_UINT8, BASE_DEC, NULL, 0x0, FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }}, NULL, HFILL }},

View File

@ -256,13 +256,13 @@ int main(int argc, char* argv[])
if (etlfile == NULL) if (etlfile == NULL)
{ {
if (err_msg != NULL) { if (err_msg != NULL) {
ws_warning("The live session didn't caputre any event. Error message: %s.", ws_warning("The live session didn't capture any event. Error message: %s.",
err_msg); err_msg);
g_free(err_msg); g_free(err_msg);
} }
else else
{ {
ws_warning("The live session didn't caputre any event"); ws_warning("The live session didn't capture any event");
} }
} }
else else

View File

@ -325,15 +325,20 @@ def isAppropriateFile(filename):
return extension in { '.adoc', '.c', '.cpp', '.pod', '.nsi'} or file.endswith('README') return extension in { '.adoc', '.c', '.cpp', '.pod', '.nsi'} or file.endswith('README')
def findFilesInFolder(folder): def findFilesInFolder(folder, recursive=True):
files_to_check = [] files_to_check = []
for root, subfolders, files in os.walk(folder): if recursive:
for f in files: for root, subfolders, files in os.walk(folder):
if should_exit: for f in files:
return if should_exit:
return
f = os.path.join(root, f) f = os.path.join(root, f)
if isAppropriateFile(f) and not isGeneratedFile(f):
files_to_check.append(f)
else:
for f in sorted(os.listdir(folder)):
f = os.path.join(folder, f)
if isAppropriateFile(f) and not isGeneratedFile(f): if isAppropriateFile(f) and not isGeneratedFile(f):
files_to_check.append(f) files_to_check.append(f)
@ -362,6 +367,8 @@ parser.add_argument('--file', action='store', default='',
help='specify individual file to test') help='specify individual file to test')
parser.add_argument('--folder', action='store', default='', parser.add_argument('--folder', action='store', default='',
help='specify folder to test') help='specify folder to test')
parser.add_argument('--no-recurse', action='store_true', default='',
help='do not recurse inside chosen folder')
parser.add_argument('--commits', action='store', parser.add_argument('--commits', action='store',
help='last N commits to check') help='last N commits to check')
parser.add_argument('--open', action='store_true', parser.add_argument('--open', action='store_true',
@ -414,7 +421,7 @@ else:
# Find files from folder. # Find files from folder.
print('Looking for files in', folder) print('Looking for files in', folder)
files = findFilesInFolder(folder) files = findFilesInFolder(folder, not args.no_recurse)
# If scanning a subset of files, list them here. # If scanning a subset of files, list them here.

View File

@ -151,6 +151,7 @@ cannot
canonicalised canonicalised
canonicalize canonicalize
canonicalized canonicalized
capacitive
capinfos capinfos
capsa capsa
captioning captioning
@ -336,6 +337,7 @@ dialup
diffie diffie
Digicel Digicel
digitizer digitizer
digium
diplexer diplexer
directionality directionality
disambiguation disambiguation
@ -497,6 +499,7 @@ hartip
hashed hashed
hashes hashes
hazelcast hazelcast
hcidump
heuristic heuristic
hfarr hfarr
hfill, hfill,
@ -535,6 +538,7 @@ inband
incits incits
incremented incremented
incrementing incrementing
indenting
indirection indirection
infile infile
infiniband infiniband
@ -793,6 +797,7 @@ outhdr
packetcable packetcable
packetization packetization
packetized packetized
pagings
parallelization parallelization
param param
parameterization parameterization
@ -1326,10 +1331,12 @@ unroutable
unsecure unsecure
unsegmented unsegmented
unsequenced unsequenced
unspec
unsubscribe unsubscribe
unsubscribed unsubscribed
unsynchronized unsynchronized
untagged untagged
unterminated
untruncated untruncated
untrusted untrusted
untunneled untunneled

View File

@ -198,7 +198,7 @@ diameteravp_draw(void *pds)
{ {
diameteravp_t *ds = (diameteravp_t *)pds; diameteravp_t *ds = (diameteravp_t *)pds;
/* printing results */ /* printing results */
printf("=== Diameter Summary ===\nrequset count:\t%u\nanswer count:\t%u\nreq/ans pairs:\t%u\n", ds->req_count, ds->ans_count, ds->paired_ans_count); printf("=== Diameter Summary ===\nrequest count:\t%u\nanswer count:\t%u\nreq/ans pairs:\t%u\n", ds->req_count, ds->ans_count, ds->paired_ans_count);
} }