Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scapy/layers/dhcp6.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class DHCP6OptIAAddress(_DHCP6OptGuessPayload): # RFC 8415 sect 21.6
IntEnumField("validlft", 0, {0xffffffff: "infinity"}),
# last field IAaddr-options is not defined in the
# reference document. We copy what wireshark does: read
# more dhcp6 options and excpect failures
# more dhcp6 options and expect failures
PacketListField("iaaddropts", [],
_DHCP6OptGuessPayloadElt,
length_from=lambda pkt: pkt.optlen - 24)]
Expand Down
4 changes: 2 additions & 2 deletions scapy/layers/inet6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ def fragment6(pkt, fragSize):

remain = fragPartStr
res = []
fragOffset = 0 # offset, incremeted during creation
fragOffset = 0 # offset, incremented during creation
fragId = random.randint(0, 0xffffffff) # random id ...
if fragHeader.id is not None: # ... except id provided by user
fragId = fragHeader.id
Expand Down Expand Up @@ -4232,7 +4232,7 @@ def _load_dict(d):
bind_layers(CookedLinux, IPv6, proto=0x86dd)
bind_layers(GRE, IPv6, proto=0x86dd)
bind_layers(SNAP, IPv6, code=0x86dd)
# AF_INET6 values are platform-dependent. For a detailed explaination, read
# AF_INET6 values are platform-dependent. For a detailed explanation, read
# https://github.com/the-tcpdump-group/libpcap/blob/f98637ad7f086a34c4027339c9639ae1ef842df3/gencode.c#L3333-L3354 # noqa: E501
if WINDOWS:
bind_layers(Loopback, IPv6, type=0x18)
Expand Down
Loading