Skip to content

Commit af44374

Browse files
authored
codespell-new (#4645)
1 parent 7106b01 commit af44374

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.config/codespell_ignore.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
abd
12
aci
23
ans
34
applikation

scapy/contrib/diameter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2527,8 +2527,8 @@ class AVP_10415_1259 (AVP_FL_V):
25272527
'val',
25282528
None,
25292529
{
2530-
1: "Pre-emptive priority: ",
2531-
2: "High priority: Lower than Pre-emptive priority",
2530+
1: "Preemptive priority: ",
2531+
2: "High priority: Lower than Preemptive priority",
25322532
3: "Normal priority: Normal level. Lower than High priority",
25332533
4: "Low priority: Lowest level priority",
25342534
})]

scapy/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def any2i(self, pkt, x):
400400
# However, having i2h implemented (#2364), it changes the default
401401
# behavior and broke all packets that wrongly use two ConditionalField
402402
# with the same name. Those packets are the problem: they are wrongly
403-
# built (they should either be re-using the same conditional field, or
403+
# built (they should either be reusing the same conditional field, or
404404
# using a MultipleTypeField).
405405
# But I don't want to dive into fixing all of them just yet,
406406
# so for now, let's keep this this way, even though it's not correct.

scapy/layers/smb2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4464,7 +4464,7 @@ class SMB2_IOCTL_RESP_GET_DFS_Referral(Packet):
44644464
def post_build(self, pkt, pay):
44654465
# type: (bytes, bytes) -> bytes
44664466
# Note: Windows is smart and uses some sort of compression in the sense
4467-
# that it re-uses fields that are used several times across ReferralBuffer.
4467+
# that it reuses fields that are used several times across ReferralBuffer.
44684468
# But we just do the dumb thing because it's 'easier', and do no compression.
44694469
offsets = {
44704470
# DFS_REFERRAL_ENTRY0

test/contrib/http2.uts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ assert str(h[16]) == 'accept-encoding: gzip, deflate'
14381438

14391439
assert expect_exception(KeyError, 'h2.HPackHdrTable()[h2.HPackHdrTable._static_entries_last_idx+1]')
14401440

1441-
= HTTP/2 HPackHdrTable : Addind Dynamic Entries without overflowing the table
1441+
= HTTP/2 HPackHdrTable : Adding Dynamic Entries without overflowing the table
14421442
~ http2 hpack hpackhdrtable
14431443

14441444
tbl = h2.HPackHdrTable(dynamic_table_max_size=1<<32, dynamic_table_cap_size=1<<32)
@@ -1493,7 +1493,7 @@ assert tbl.get_idx_by_name('x-requested-by') == h2.HPackHdrTable._static_entries
14931493
assert tbl[h2.HPackHdrTable._static_entries_last_idx+2].value() == hdrv2
14941494
assert tbl[h2.HPackHdrTable._static_entries_last_idx+3].value() == hdrv
14951495

1496-
= HTTP/2 HPackHdrTable : Addind already registered Dynamic Entries without overflowing the table
1496+
= HTTP/2 HPackHdrTable : Adding already registered Dynamic Entries without overflowing the table
14971497
~ http2 hpack hpackhdrtable
14981498

14991499
tbl = h2.HPackHdrTable(dynamic_table_max_size=1<<32, dynamic_table_cap_size=1<<32)
@@ -1522,7 +1522,7 @@ assert tbl[h2.HPackHdrTable._static_entries_last_idx+1].value() == hdrv
15221522
assert tbl[h2.HPackHdrTable._static_entries_last_idx+2].value() == hdr2v
15231523
assert tbl[h2.HPackHdrTable._static_entries_last_idx+3].value() == hdrv
15241524

1525-
= HTTP/2 HPackHdrTable : Addind Dynamic Entries and overflowing the table
1525+
= HTTP/2 HPackHdrTable : Adding Dynamic Entries and overflowing the table
15261526
~ http2 hpack hpackhdrtable
15271527

15281528
tbl = h2.HPackHdrTable(dynamic_table_max_size=80, dynamic_table_cap_size=80)

0 commit comments

Comments
 (0)