Skip to content

Commit a91babb

Browse files
authored
Fix BitField doc
fixes #3176
1 parent d680d27 commit a91babb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scapy/fields.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,9 +2125,9 @@ class TestPacket(Packet):
21252125
21262126
class TestPacket(Packet):
21272127
fields_desc = [
2128-
BitField("a", 0, 9, tot_size=-16),
2128+
BitField("a", 0, 9, tot_size=-2),
21292129
BitField("b", 0, 2),
2130-
BitField("c", 0, 5, end_tot_size=-16)
2130+
BitField("c", 0, 5, end_tot_size=-2)
21312131
]
21322132
21332133
"""

0 commit comments

Comments
 (0)