Skip to content

Commit

Permalink
Add missing blank line to pass the health check
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaciejak authored Feb 12, 2025
1 parent b2345e6 commit 9ad2a99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scapy/layers/isakmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,15 @@ class ISAKMP_payload_Hash(ISAKMP_payload):
StrLenField("hash", "", length_from=lambda x: x.length - 4)
]


class ISAKMP_payload_SIG(ISAKMP_payload):
name = "ISAKMP Signature"
deprecated_fields = {"load": ("sig", "2.6.2")}
fields_desc = ISAKMP_payload.fields_desc[:3] + [
StrLenField("sig", "", length_from=lambda x: x.length - 4)
]


NotifyMessageType = {
1: "INVALID-PAYLOAD-TYPE",
2: "DOI-NOT-SUPPORTED",
Expand Down

0 comments on commit 9ad2a99

Please sign in to comment.