diff --git a/.config/codespell_ignore.txt b/.config/codespell_ignore.txt index cfdb00d50f8..ab4d74bac68 100644 --- a/.config/codespell_ignore.txt +++ b/.config/codespell_ignore.txt @@ -1,3 +1,4 @@ +abd aci ans applikation diff --git a/scapy/contrib/diameter.py b/scapy/contrib/diameter.py index 1bf1502e2f0..b5110709e08 100644 --- a/scapy/contrib/diameter.py +++ b/scapy/contrib/diameter.py @@ -2527,8 +2527,8 @@ class AVP_10415_1259 (AVP_FL_V): 'val', None, { - 1: "Pre-emptive priority: ", - 2: "High priority: Lower than Pre-emptive priority", + 1: "Preemptive priority: ", + 2: "High priority: Lower than Preemptive priority", 3: "Normal priority: Normal level. Lower than High priority", 4: "Low priority: Lowest level priority", })] diff --git a/scapy/fields.py b/scapy/fields.py index a37a5df2659..be0eba74537 100644 --- a/scapy/fields.py +++ b/scapy/fields.py @@ -400,7 +400,7 @@ def any2i(self, pkt, x): # However, having i2h implemented (#2364), it changes the default # behavior and broke all packets that wrongly use two ConditionalField # with the same name. Those packets are the problem: they are wrongly - # built (they should either be re-using the same conditional field, or + # built (they should either be reusing the same conditional field, or # using a MultipleTypeField). # But I don't want to dive into fixing all of them just yet, # so for now, let's keep this this way, even though it's not correct. diff --git a/scapy/layers/smb2.py b/scapy/layers/smb2.py index bf4f7f7fb63..f154ca5be9c 100644 --- a/scapy/layers/smb2.py +++ b/scapy/layers/smb2.py @@ -4464,7 +4464,7 @@ class SMB2_IOCTL_RESP_GET_DFS_Referral(Packet): def post_build(self, pkt, pay): # type: (bytes, bytes) -> bytes # Note: Windows is smart and uses some sort of compression in the sense - # that it re-uses fields that are used several times across ReferralBuffer. + # that it reuses fields that are used several times across ReferralBuffer. # But we just do the dumb thing because it's 'easier', and do no compression. offsets = { # DFS_REFERRAL_ENTRY0 diff --git a/test/contrib/http2.uts b/test/contrib/http2.uts index 11cbcb827b5..3c195ccbe01 100644 --- a/test/contrib/http2.uts +++ b/test/contrib/http2.uts @@ -1438,7 +1438,7 @@ assert str(h[16]) == 'accept-encoding: gzip, deflate' assert expect_exception(KeyError, 'h2.HPackHdrTable()[h2.HPackHdrTable._static_entries_last_idx+1]') -= HTTP/2 HPackHdrTable : Addind Dynamic Entries without overflowing the table += HTTP/2 HPackHdrTable : Adding Dynamic Entries without overflowing the table ~ http2 hpack hpackhdrtable 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 assert tbl[h2.HPackHdrTable._static_entries_last_idx+2].value() == hdrv2 assert tbl[h2.HPackHdrTable._static_entries_last_idx+3].value() == hdrv -= HTTP/2 HPackHdrTable : Addind already registered Dynamic Entries without overflowing the table += HTTP/2 HPackHdrTable : Adding already registered Dynamic Entries without overflowing the table ~ http2 hpack hpackhdrtable 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 assert tbl[h2.HPackHdrTable._static_entries_last_idx+2].value() == hdr2v assert tbl[h2.HPackHdrTable._static_entries_last_idx+3].value() == hdrv -= HTTP/2 HPackHdrTable : Addind Dynamic Entries and overflowing the table += HTTP/2 HPackHdrTable : Adding Dynamic Entries and overflowing the table ~ http2 hpack hpackhdrtable tbl = h2.HPackHdrTable(dynamic_table_max_size=80, dynamic_table_cap_size=80)