Fix some spelling errors.

This commit is contained in:
Martin Mathieson 2021-11-07 15:39:42 +00:00 committed by Wireshark GitLab Utility
parent 8772147021
commit 263189e23d
8 changed files with 42 additions and 11 deletions

View File

@ -67,7 +67,7 @@ abbreviations or through C-like symbols:
The ordering depends on the value type in the usual way (e.g., lexicographic The ordering depends on the value type in the usual way (e.g., lexicographic
for strings and arithmetic for integers.) A field may appear more than once for strings and arithmetic for integers.) A field may appear more than once
in a given frame. In general, if any apperance of a field has a value that in a given frame. In general, if any appearance of a field has a value that
satisfies its operator, then the expression evaluates to true. The one satisfies its operator, then the expression evaluates to true. The one
exception is the "!=" operator, which asserts that _all_ appearances of a field exception is the "!=" operator, which asserts that _all_ appearances of a field
are not equal to a value, making it the logical negation of the "==" operator.footnote:[This differs from previous, deprecated behavior. To obtain the old behavior, which was true if any appearance was not equal, use the "any_ne", "~=" operator.] are not equal to a value, making it the logical negation of the "==" operator.footnote:[This differs from previous, deprecated behavior. To obtain the old behavior, which was true if any appearance was not equal, use the "any_ne", "~=" operator.]

View File

@ -186,7 +186,7 @@ static expert_field ei_c1222_command_truncated = EI_INIT;
static expert_field ei_c1222_bad_checksum = EI_INIT; static expert_field ei_c1222_bad_checksum = EI_INIT;
static expert_field ei_c1222_epsem_missing = EI_INIT; static expert_field ei_c1222_epsem_missing = EI_INIT;
static expert_field ei_c1222_epsem_failed_authentication = EI_INIT; static expert_field ei_c1222_epsem_failed_authentication = EI_INIT;
static expert_field ei_c1222_epsem_not_decryped = EI_INIT; static expert_field ei_c1222_epsem_not_decrypted = EI_INIT;
static expert_field ei_c1222_ed_class_missing = EI_INIT; static expert_field ei_c1222_ed_class_missing = EI_INIT;
static expert_field ei_c1222_epsem_ber_length_error = EI_INIT; static expert_field ei_c1222_epsem_ber_length_error = EI_INIT;
static expert_field ei_c1222_epsem_field_length_error = EI_INIT; static expert_field ei_c1222_epsem_field_length_error = EI_INIT;
@ -1015,7 +1015,7 @@ dissect_epsem(tvbuff_t *tvb, int offset, guint32 len, packet_info *pinfo, proto_
/* it's only encrypted if we have an undecrypted payload */ /* it's only encrypted if we have an undecrypted payload */
if (encrypted) { if (encrypted) {
proto_tree_add_item(tree, hf_c1222_epsem_total, tvb, offset, -1, ENC_NA); proto_tree_add_item(tree, hf_c1222_epsem_total, tvb, offset, -1, ENC_NA);
expert_add_info(pinfo, tree, &ei_c1222_epsem_not_decryped); expert_add_info(pinfo, tree, &ei_c1222_epsem_not_decrypted);
local_offset = offset+len2-4; local_offset = offset+len2-4;
epsem_buffer = tvb; epsem_buffer = tvb;
} else { /* it's not (now) encrypted */ } else { /* it's not (now) encrypted */
@ -1393,7 +1393,7 @@ void proto_register_c1222(void) {
{ &ei_c1222_bad_checksum, { "c1222.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }}, { &ei_c1222_bad_checksum, { "c1222.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }},
{ &ei_c1222_epsem_missing, { "c1222.epsem.missing", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM missing", EXPFILL }}, { &ei_c1222_epsem_missing, { "c1222.epsem.missing", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM missing", EXPFILL }},
{ &ei_c1222_epsem_failed_authentication, { "c1222.epsem.failed_authentication", PI_SECURITY, PI_ERROR, "C12.22 EPSEM failed authentication", EXPFILL }}, { &ei_c1222_epsem_failed_authentication, { "c1222.epsem.failed_authentication", PI_SECURITY, PI_ERROR, "C12.22 EPSEM failed authentication", EXPFILL }},
{ &ei_c1222_epsem_not_decryped, { "c1222.epsem.not_decryped", PI_UNDECODED, PI_WARN, "C12.22 EPSEM could not be decrypted", EXPFILL }}, { &ei_c1222_epsem_not_decrypted, { "c1222.epsem.not_decrypted", PI_UNDECODED, PI_WARN, "C12.22 EPSEM could not be decrypted", EXPFILL }},
{ &ei_c1222_ed_class_missing, { "c1222.ed_class_missing", PI_SECURITY, PI_ERROR, "C12.22 ED Class missing", EXPFILL }}, { &ei_c1222_ed_class_missing, { "c1222.ed_class_missing", PI_SECURITY, PI_ERROR, "C12.22 ED Class missing", EXPFILL }},
{ &ei_c1222_epsem_ber_length_error, { "c1222.epsem.ber_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM BER length error", EXPFILL }}, { &ei_c1222_epsem_ber_length_error, { "c1222.epsem.ber_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM BER length error", EXPFILL }},
{ &ei_c1222_epsem_field_length_error, { "c1222.epsem.field_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM field length error", EXPFILL }}, { &ei_c1222_epsem_field_length_error, { "c1222.epsem.field_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM field length error", EXPFILL }},

View File

@ -495,7 +495,7 @@ proto_register_bblog(void)
{ &hf_t_flags_need_fin, { "Need FIN", "bblog.t_flags_need_fin", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_NEEDFIN, NULL, HFILL} }, { &hf_t_flags_need_fin, { "Need FIN", "bblog.t_flags_need_fin", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_NEEDFIN, NULL, HFILL} },
{ &hf_t_flags_no_push, { "No push", "bblog.t_flags_no_push", FT_BOOLEAN, 32, TFS(&tfs_enabled_disabled), T_FLAGS_NOPUSH, NULL, HFILL} }, { &hf_t_flags_no_push, { "No push", "bblog.t_flags_no_push", FT_BOOLEAN, 32, TFS(&tfs_enabled_disabled), T_FLAGS_NOPUSH, NULL, HFILL} },
{ &hf_t_flags_prev_valid, { "Saved values for bad retransmission valid", "bblog.t_flags_prev_valid", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_PREVVALID, NULL, HFILL} }, { &hf_t_flags_prev_valid, { "Saved values for bad retransmission valid", "bblog.t_flags_prev_valid", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_PREVVALID, NULL, HFILL} },
{ &hf_t_flags_wake_socket_receive, { "Wakeup receive socket", "bblog.t_flags_wake_socke_receive", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_WAKESOR, NULL, HFILL} }, { &hf_t_flags_wake_socket_receive, { "Wakeup receive socket", "bblog.t_flags_wake_socket_receive", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_WAKESOR, NULL, HFILL} },
{ &hf_t_flags_goodput_in_progress, { "Goodput measurement in progress", "bblog.t_flags_goodput_in_progress", FT_BOOLEAN, 32, TFS(&tfs_true_false), T_FLAGS_GPUTINPROG, NULL, HFILL} }, { &hf_t_flags_goodput_in_progress, { "Goodput measurement in progress", "bblog.t_flags_goodput_in_progress", FT_BOOLEAN, 32, TFS(&tfs_true_false), T_FLAGS_GPUTINPROG, NULL, HFILL} },
{ &hf_t_flags_more_to_come, { "More to come", "bblog.t_flags_more_to_come", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_MORETOCOME, NULL, HFILL} }, { &hf_t_flags_more_to_come, { "More to come", "bblog.t_flags_more_to_come", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_MORETOCOME, NULL, HFILL} },
{ &hf_t_flags_listen_queue_overflow, { "Listen queue overflow", "bblog.t_flags_listen_queue_overflow", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_LQ_OVERFLOW, NULL, HFILL} }, { &hf_t_flags_listen_queue_overflow, { "Listen queue overflow", "bblog.t_flags_listen_queue_overflow", FT_BOOLEAN, 32, TFS(&tfs_yes_no), T_FLAGS_LQ_OVERFLOW, NULL, HFILL} },

View File

@ -237,7 +237,7 @@ static expert_field ei_c1222_command_truncated = EI_INIT;
static expert_field ei_c1222_bad_checksum = EI_INIT; static expert_field ei_c1222_bad_checksum = EI_INIT;
static expert_field ei_c1222_epsem_missing = EI_INIT; static expert_field ei_c1222_epsem_missing = EI_INIT;
static expert_field ei_c1222_epsem_failed_authentication = EI_INIT; static expert_field ei_c1222_epsem_failed_authentication = EI_INIT;
static expert_field ei_c1222_epsem_not_decryped = EI_INIT; static expert_field ei_c1222_epsem_not_decrypted = EI_INIT;
static expert_field ei_c1222_ed_class_missing = EI_INIT; static expert_field ei_c1222_ed_class_missing = EI_INIT;
static expert_field ei_c1222_epsem_ber_length_error = EI_INIT; static expert_field ei_c1222_epsem_ber_length_error = EI_INIT;
static expert_field ei_c1222_epsem_field_length_error = EI_INIT; static expert_field ei_c1222_epsem_field_length_error = EI_INIT;
@ -1066,7 +1066,7 @@ dissect_epsem(tvbuff_t *tvb, int offset, guint32 len, packet_info *pinfo, proto_
/* it's only encrypted if we have an undecrypted payload */ /* it's only encrypted if we have an undecrypted payload */
if (encrypted) { if (encrypted) {
proto_tree_add_item(tree, hf_c1222_epsem_total, tvb, offset, -1, ENC_NA); proto_tree_add_item(tree, hf_c1222_epsem_total, tvb, offset, -1, ENC_NA);
expert_add_info(pinfo, tree, &ei_c1222_epsem_not_decryped); expert_add_info(pinfo, tree, &ei_c1222_epsem_not_decrypted);
local_offset = offset+len2-4; local_offset = offset+len2-4;
epsem_buffer = tvb; epsem_buffer = tvb;
} else { /* it's not (now) encrypted */ } else { /* it's not (now) encrypted */
@ -2031,7 +2031,7 @@ void proto_register_c1222(void) {
{ &ei_c1222_bad_checksum, { "c1222.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }}, { &ei_c1222_bad_checksum, { "c1222.bad_checksum", PI_CHECKSUM, PI_ERROR, "Bad checksum", EXPFILL }},
{ &ei_c1222_epsem_missing, { "c1222.epsem.missing", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM missing", EXPFILL }}, { &ei_c1222_epsem_missing, { "c1222.epsem.missing", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM missing", EXPFILL }},
{ &ei_c1222_epsem_failed_authentication, { "c1222.epsem.failed_authentication", PI_SECURITY, PI_ERROR, "C12.22 EPSEM failed authentication", EXPFILL }}, { &ei_c1222_epsem_failed_authentication, { "c1222.epsem.failed_authentication", PI_SECURITY, PI_ERROR, "C12.22 EPSEM failed authentication", EXPFILL }},
{ &ei_c1222_epsem_not_decryped, { "c1222.epsem.not_decryped", PI_UNDECODED, PI_WARN, "C12.22 EPSEM could not be decrypted", EXPFILL }}, { &ei_c1222_epsem_not_decrypted, { "c1222.epsem.not_decrypted", PI_UNDECODED, PI_WARN, "C12.22 EPSEM could not be decrypted", EXPFILL }},
{ &ei_c1222_ed_class_missing, { "c1222.ed_class_missing", PI_SECURITY, PI_ERROR, "C12.22 ED Class missing", EXPFILL }}, { &ei_c1222_ed_class_missing, { "c1222.ed_class_missing", PI_SECURITY, PI_ERROR, "C12.22 ED Class missing", EXPFILL }},
{ &ei_c1222_epsem_ber_length_error, { "c1222.epsem.ber_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM BER length error", EXPFILL }}, { &ei_c1222_epsem_ber_length_error, { "c1222.epsem.ber_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM BER length error", EXPFILL }},
{ &ei_c1222_epsem_field_length_error, { "c1222.epsem.field_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM field length error", EXPFILL }}, { &ei_c1222_epsem_field_length_error, { "c1222.epsem.field_length_error", PI_MALFORMED, PI_ERROR, "C12.22 EPSEM field length error", EXPFILL }},

View File

@ -4218,7 +4218,7 @@ proto_register_sccp(void)
&default_payload); &default_payload);
prefs_register_bool_preference(sccp_module, "dt1_ignore_length", "Ignore length in DT1", prefs_register_bool_preference(sccp_module, "dt1_ignore_length", "Ignore length in DT1",
"Use all bytes for data payload. Overcome 255 bytes limit of SCCP stadard." "Use all bytes for data payload. Overcome 255 bytes limit of SCCP standard."
" (Some tracing tool save information without DT1 segmentation of 255 bytes)", " (Some tracing tool save information without DT1 segmentation of 255 bytes)",
&dt1_ignore_length); &dt1_ignore_length);

View File

@ -13,6 +13,7 @@ import signal
from collections import Counter from collections import Counter
# Looks for spelling errors among strings found in source or documentation files. # Looks for spelling errors among strings found in source or documentation files.
# N.B. To run this script, you should install pyspellchecker (not spellchecker) using pip.
# TODO: check structured doxygen comments? # TODO: check structured doxygen comments?
@ -309,7 +310,8 @@ def isGeneratedFile(filename):
line.find('automatically generated by Pidl') != -1 or line.find('automatically generated by Pidl') != -1 or
line.find('Created by: The Qt Meta Object Compiler') != -1 or line.find('Created by: The Qt Meta Object Compiler') != -1 or
line.find('This file was generated') != -1 or line.find('This file was generated') != -1 or
line.find('This filter was automatically generated') != -1): line.find('This filter was automatically generated') != -1 or
line.find('This file is auto generated, do not edit!') != -1):
f_read.close() f_read.close()
return True return True

View File

@ -485,7 +485,8 @@ def isGeneratedFile(filename):
line.find('automatically generated by Pidl') != -1 or line.find('automatically generated by Pidl') != -1 or
line.find('Created by: The Qt Meta Object Compiler') != -1 or line.find('Created by: The Qt Meta Object Compiler') != -1 or
line.find('This file was generated') != -1 or line.find('This file was generated') != -1 or
line.find('This filter was automatically generated') != -1): line.find('This filter was automatically generated') != -1 or
line.find('This file is auto generated, do not edit!') != -1):
f_read.close() f_read.close()

View File

@ -126,6 +126,7 @@ bootopt
bootp bootp
broadcom broadcom
bsmap bsmap
bssap
bssid bssid
bssids bssids
bssmap bssmap
@ -187,6 +188,7 @@ charsets
checkbox checkbox
checkout checkout
checksum checksum
chksum
choco choco
chocolatey chocolatey
chromaticities chromaticities
@ -200,6 +202,7 @@ cksum
classmark classmark
classmark3 classmark3
clientkey clientkey
clientout
cmake cmake
cmdcontrol cmdcontrol
cmstatus cmstatus
@ -249,6 +252,7 @@ coverity
cpdlc cpdlc
cpich cpich
cppcheck cppcheck
cpubus
cpuregisters cpuregisters
cqich cqich
credential credential
@ -345,6 +349,7 @@ devmode
dfilter dfilter
dfilters dfilters
dfsauth dfsauth
dftest
dhcpv dhcpv
dialed dialed
dialup dialup
@ -462,6 +467,7 @@ flowid
flowmod flowmod
flowspec flowspec
followup followup
foobar
format0 format0
fortigate fortigate
fortinet fortinet
@ -568,6 +574,7 @@ infolist
informationitem informationitem
informationlist informationlist
infos infos
inited
initialise initialise
initialising initialising
initialization initialization
@ -581,6 +588,7 @@ initializing
inline inline
inode inode
inodes inodes
inspiron
instdir instdir
instrumented instrumented
interferer interferer
@ -591,6 +599,7 @@ invalidation
ioctl ioctl
ioerr ioerr
iograph iograph
iotecha
ipaddr ipaddr
ipaddress ipaddress
ipfix ipfix
@ -600,9 +609,11 @@ ipseckey
iptables iptables
iptrace iptrace
ipv4addr ipv4addr
ipxnet
ipxnets ipxnets
irqmask irqmask
isakmp isakmp
isatap
iscsi iscsi
iseries iseries
isobus isobus
@ -638,6 +649,7 @@ lcsap
leasequery leasequery
libgcrypt libgcrypt
libpcap libpcap
libsmi
linearity linearity
linkaddr linkaddr
linkcss linkcss
@ -664,6 +676,7 @@ macaddr
macaddress macaddress
mailto mailto
malloc malloc
manarg
mantissa mantissa
manuf manuf
mappable mappable
@ -679,6 +692,7 @@ mcptt
mcsset mcsset
measurability measurability
measurements measurements
medion
megabit megabit
megaco megaco
mellanox mellanox
@ -749,6 +763,7 @@ narrowband
nbrar nbrar
ndpsm ndpsm
negotiability negotiability
nessie
netboot netboot
netfilter netfilter
netflow netflow
@ -860,6 +875,7 @@ peerkey
periodicities periodicities
peristency peristency
persistency persistency
pfname
phaser phaser
phasor phasor
phich phich
@ -919,6 +935,7 @@ proxied
proxying proxying
pscell pscell
pseudowire pseudowire
psname
ptime ptime
ptvcursor ptvcursor
ptype ptype
@ -1054,9 +1071,11 @@ retransmissions
retransmit retransmit
retransmits retransmits
retransmitted retransmitted
retransmitter
retries retries
retry retry
retrying retrying
retval
retyping retyping
revalidate revalidate
revalidation revalidation
@ -1074,6 +1093,7 @@ rpcap
rtpmidi rtpmidi
rtpmux rtpmux
rxreq rxreq
s7comm
sacch sacch
sanicap sanicap
sanitize sanitize
@ -1084,6 +1104,7 @@ scannable
scell scell
scoped scoped
scrollbar scrollbar
sdjournal
sdusize sdusize
sectorization sectorization
sectorized sectorized
@ -1126,6 +1147,7 @@ sname
snaplen snaplen
snow3g snow3g
softkey softkey
solera
someip someip
someipsd someipsd
sonet sonet
@ -1179,6 +1201,7 @@ subelem
subelement subelement
subelements subelements
subframes subframes
subfunc
subhd subhd
subheader subheader
subheaders subheaders
@ -1208,6 +1231,7 @@ subtlv
subtree subtree
subtrees subtrees
superset superset
svhdx
switchinfo switchinfo
synchronizing synchronizing
synchronously synchronously
@ -1217,6 +1241,7 @@ sysdig
sysex sysex
sysframe sysframe
syslog syslog
sysmac
systemd systemd
tablemod tablemod
tabular tabular
@ -1336,6 +1361,7 @@ underflow
underrun underrun
undisposed undisposed
undissected undissected
unduplicated
unencrypted unencrypted
unescaped unescaped
unexported unexported
@ -1445,6 +1471,7 @@ version7
versioned versioned
versioning versioning
viavi viavi
virtex
virtualization virtualization
vlans vlans
vocoder vocoder
@ -1475,6 +1502,7 @@ wscale
wscbor wscbor
wslua wslua
wsluarm wsluarm
wsutil
x509sat x509sat
xattr xattr
xchannel xchannel