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
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
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.]

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_epsem_missing = 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_epsem_ber_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 */
if (encrypted) {
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;
epsem_buffer = tvb;
} 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_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_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_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 }},

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_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_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_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} },

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_epsem_missing = 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_epsem_ber_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 */
if (encrypted) {
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;
epsem_buffer = tvb;
} 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_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_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_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 }},

View File

@ -4218,7 +4218,7 @@ proto_register_sccp(void)
&default_payload);
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)",
&dt1_ignore_length);

View File

@ -13,6 +13,7 @@ import signal
from collections import Counter
# 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?
@ -309,7 +310,8 @@ def isGeneratedFile(filename):
line.find('automatically generated by Pidl') != -1 or
line.find('Created by: The Qt Meta Object Compiler') != -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()
return True

View File

@ -485,7 +485,8 @@ def isGeneratedFile(filename):
line.find('automatically generated by Pidl') != -1 or
line.find('Created by: The Qt Meta Object Compiler') != -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()

View File

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