Fix some spelling errors

This commit is contained in:
Martin Mathieson 2021-11-29 17:46:16 +00:00
parent 54cf8b01a4
commit e11cdf2f46
7 changed files with 67 additions and 15 deletions

View File

@ -122,7 +122,7 @@ static int hf_flexray_FCRCERR = -1;
static int hf_flexray_FESERR = -1;
static int hf_flexray_FSSERR = -1;
static int hf_flexray_BSSERR = -1;
static int hf_flexray_jump_occured = -1;
static int hf_flexray_jump_occurred = -1;
static int hf_flexray_slot_information = -1;
static int hf_flexray_SBV = -1;
static int hf_flexray_ACI = -1;
@ -382,7 +382,7 @@ static int * const flexray_status_bits[] = {
&hf_flexray_monitoring_bit,
&hf_flexray_sync_bit,
&hf_flexray_packet_type,
&hf_flexray_jump_occured,
&hf_flexray_jump_occurred,
NULL
};
@ -397,7 +397,7 @@ static int * const flexray_frame_status_bits[] = {
&hf_flexray_FESERR,
&hf_flexray_FSSERR,
&hf_flexray_BSSERR,
&hf_flexray_jump_occured,
&hf_flexray_jump_occurred,
NULL
};
@ -1411,7 +1411,7 @@ proto_register_ebhscr(void)
"The wakeup length field in the major number specific header is set.", HFILL }
},
{ &hf_lin_time_jump,
{ "Time jump occured near the edge and thus the timestamp was estimated", "ebhscr.lin.timejmp",
{ "Time jump occurred near the edge and thus the timestamp was estimated", "ebhscr.lin.timejmp",
FT_BOOLEAN, 16,
NULL, 0x0400,
"Only relevant for capture, ignored for replay.", HFILL }
@ -1435,7 +1435,7 @@ proto_register_ebhscr(void)
NULL, HFILL }
},
{ &hf_lin_sts_syn,
{ "SYN - Received syncronization field is not 0x55", "ebhscr.lin.syn",
{ "SYN - Received synchronization field is not 0x55", "ebhscr.lin.syn",
FT_BOOLEAN, 64,
NULL, 0x0000000200000000,
NULL, HFILL }
@ -1626,11 +1626,11 @@ proto_register_ebhscr(void)
NULL, 0x0400,
NULL, HFILL }
},
{ &hf_flexray_jump_occured,
{ "Time jump occured", "ebhscr.flexray.jump_occ",
{ &hf_flexray_jump_occurred,
{ "Time jump occurred", "ebhscr.flexray.jump_occ",
FT_BOOLEAN, 16,
NULL, 0x0800,
"Set to 1 if a time jump occured near the edge and thus the timestamp was estimated.", HFILL }
"Set to 1 if a time jump occurred near the edge and thus the timestamp was estimated.", HFILL }
},
{ &hf_flexray_slot_information,
{ "Slot information", "ebhscr.flexray.slotinfo",

View File

@ -712,7 +712,7 @@ proto_register_elcom(void)
},
{ &hf_elcom_datarequest_oid,
{ "Obkect Name", "elcom.datarequest.oid",
{ "Object Name", "elcom.datarequest.oid",
FT_UINT_STRING, BASE_NONE, NULL, 0, NULL, HFILL }
},
{ &hf_elcom_strangeleftover,

View File

@ -47578,15 +47578,15 @@ proto_register_ieee80211(void)
FT_UINT32, BASE_HEX, NULL, 0xF8, NULL, HFILL }},
{&hf_ieee80211_he_eht_om_rx_nss_ext,
{"Rx NSS Extenstion", "wlan.htc.he.a_control.eht_om.rx_nss_ext",
{"Rx NSS Extension", "wlan.htc.he.a_control.eht_om.rx_nss_ext",
FT_BOOLEAN, 32, NULL, 0x01, NULL, HFILL }},
{&hf_ieee80211_he_eht_om_chan_w_ext,
{"Channel Width Extenstion", "wlan.htc.he.a_control.eht_om.chan_w_ext",
{"Channel Width Extension", "wlan.htc.he.a_control.eht_om.chan_w_ext",
FT_BOOLEAN, 32, NULL, 0x02, NULL, HFILL }},
{&hf_ieee80211_he_eht_om_tx_nsts_ext,
{"Tx NSTS Extenstion", "wlan.htc.he.a_control.eht_om.tx_nsts_ext",
{"Tx NSTS Extension", "wlan.htc.he.a_control.eht_om.tx_nsts_ext",
FT_BOOLEAN, 32, NULL, 0x04, NULL, HFILL }},
{&hf_ieee80211_he_eht_om_reserved,

View File

@ -402,7 +402,7 @@ static const true_false_string tfs_complete_disable_inprog = { "Complete", "Disa
static const value_string ncsi_partner_flow_vals[] = {
{ 0x00, "Not pause capable" },
{ 0x01, "Symmetric pause" },
{ 0x02, "Assymmetric pause" },
{ 0x02, "Asymmetric pause" },
{ 0x03, "Symmetric & Assymetric pause" },
{ 0, NULL },
};

View File

@ -609,7 +609,7 @@ static const value_string opcodes_vals_term[] =
{
{CS_NOP_ACK , "NOP Acknowledge"},
{CS_HANDSET_OFFHOOK , "Handset Offhook"}, /* IP Phone */
{CS_HANDSET_ONHOOK , "Hansdet Onhook"}, /* IP Phone */
{CS_HANDSET_ONHOOK , "Handset Onhook"}, /* IP Phone */
{CS_DIGIT_DIALED , "Digital Dialed"}, /* IP Phone */
{CS_SUBDEVICE_MSG , "Subdevice Message"},
{CS_HE_ROUTING , "HE Routing Response Code"}, /* IP Phone - NOT EXPECTED */

View File

@ -113,6 +113,14 @@ class File:
return self.checkMultiWordsRecursive(word)
# If word before 'id' is recognised, accept word.
def wordBeforeId(self, word):
if word.lower().endswith('id'):
if not spell.unknown([word[0:len(word)-2]]):
return True
else:
return False
def checkMultiWordsRecursive(self, word):
length = len(word)
#print('word=', word)
@ -204,7 +212,7 @@ class File:
word = word.replace('', '')
word = word.replace('', '')
if len(word) > 4 and spell.unknown([word]) and not self.checkMultiWords(word):
if len(word) > 4 and spell.unknown([word]) and not self.checkMultiWords(word) and not self.wordBeforeId(word):
print(self.file, this_value, '/', num_values, '"' + original + '"', bcolors.FAIL + word + bcolors.ENDC,
' -> ', '?')
# TODO: this can be interesting, but takes too long!

View File

@ -1,5 +1,6 @@
0x%02x
0x%08x
100gb
100kbps
100mb
10base
@ -13,6 +14,7 @@
80211n
80mhz
accelerometer
acceptor
accessor
accessors
accuracies
@ -28,6 +30,7 @@ additionsr
adjacency
adlink
administrable
adpclk
adspec
adwin
aes128
@ -52,6 +55,7 @@ anacap
analyzers
analyzes
annexc
annunc
anonsvn
anonymization
aperiodic
@ -79,6 +83,7 @@ atsss
attendee
attrib
attrs
audigy
authen
authenticates
authenticator
@ -158,6 +163,7 @@ cannot
canonicalised
canonicalize
canonicalized
capab
capacitive
capinfos
caplen
@ -172,6 +178,8 @@ cccid
ccpch
cctrch
cdma2000
cdmacallmode
cdmachanneldata
celeron
cellid
cellidentity
@ -242,6 +250,7 @@ connid
const
contactless
contiguously
coord
Coord3D
copycss
copyfile
@ -257,6 +266,7 @@ cpuregisters
cqich
credential
credentials
credssp
criticalextensions
criticalextensionsfuture
crnti
@ -375,6 +385,7 @@ docsis
dodag
double
downlink
doxygen
dpauxmon
dpnss
drbid
@ -388,6 +399,7 @@ duple
dword
dwords
eapol
earcfn
earfcn
ebcdic
ecdhe
@ -453,6 +465,7 @@ extensible
exthdr
extrainformation
failover
fastcom
fastip
fastmsg
fattr
@ -466,6 +479,7 @@ flexray
flowid
flowmod
flowspec
fmconfig
followup
foobar
format0
@ -476,13 +490,17 @@ fraghdr
framenum
framenumber
frametype
frcrpt
frontend
fsctl
ftype
ftypes
fujitsu
functionalities
funkt
fvalue
g711a
g711u
gamepad
ganss
gboolean
@ -506,10 +524,12 @@ gitlab
gluster
gmail
gmprs
gnodeb
gnutls
goaway
google
gprscdr
gregex
greyed
groupa
groupadd
@ -589,6 +609,7 @@ inline
inode
inodes
inspiron
instantiate
instdir
instrumented
interferer
@ -627,6 +648,8 @@ ixveriwave
jetds
jsonraw
kademlia
kasme
kbytes
keepalive
kerberos
keydes
@ -650,6 +673,7 @@ leasequery
libgcrypt
libpcap
libsmi
licmgr
linearity
linkaddr
linkcss
@ -674,6 +698,7 @@ lucent
luminance
macaddr
macaddress
macsec
mailto
malloc
manarg
@ -687,6 +712,7 @@ maxlen
maybefcs
mbits
mbsfn
mbytes
mcast
mcptt
mcsset
@ -733,6 +759,7 @@ msgsend
msisdn
mtftp
mtrace
mudurl
multiband
multicarrier
multicast
@ -774,11 +801,13 @@ netlink
netlogon
netmask
netmon
netricity
netscaler
nettl
netxray
newpw
nexthop
nfs2err
nfs4err
nghttp
ngran
@ -795,6 +824,7 @@ noncriticalextensions
nopad
nortel
notarized
notational
notif
notifier
notused
@ -821,6 +851,7 @@ octetstring
ofdma
offloadability
ofpat
ofpmp
ofppf
ofpxmt
om2000
@ -853,6 +884,7 @@ param
parameterization
parameterized
params
paramset
parens
parlay
parms
@ -867,6 +899,7 @@ pcapng
pcell
pcmax
pcmaxc
pcrepattern
pdcch
pdsch
pdustatus
@ -962,6 +995,7 @@ radiotap
ralink
ranap
randomization
randomize
randomizer
randpkt
raster
@ -1005,6 +1039,7 @@ reconfrqst
recursively
redelivered
redelivery
redir
redirector
redirects
redistributable
@ -1090,6 +1125,7 @@ rnsap
roamer
routable
rpcap
rsocket
rtpmidi
rtpmux
rxreq
@ -1101,6 +1137,7 @@ satisfiable
scalability
scaler
scannable
scdma
scell
scoped
scrollbar
@ -1140,6 +1177,7 @@ signon
simulcast
skippable
skype
slimp
slsch
smpte
smrse
@ -1270,6 +1308,7 @@ tesla
text2pcap
thermister
thermistor
thunderx
timeout
timeslot
timestamp
@ -1295,6 +1334,8 @@ transum
transversal
traveler
traversal
trcdbg
trunc
truncatable
truncate
truncates
@ -1318,6 +1359,7 @@ uboot
ubuntu
udpcp
udpdump
udphdr
uint16
uint32
uint8
@ -1367,6 +1409,7 @@ unescaped
unexported
unformatted
unfragmented
unframed
ungrab
unhandled
unicast
@ -1442,6 +1485,7 @@ uploads
urlencoded
urnti
usability
usbms
usbpcap
userdata
userinfo