Skip to content

Commit

Permalink
ICMP experimental codes, closes #1073
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Apr 21, 2022
1 parent aac654d commit a669584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/exabgp/protocol/ip/icmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class ICMPType(Resource):
MASK_REQUEST = 0x11
MASK_REPLY = 0x12
TRACEROUTE = 0x1E
EXPERIMENTAL_ONE = 0xFD
EXPERIMENTAL_TWO = 0xFE

codes = dict(
(k.lower().replace('_', '-'), v)
Expand All @@ -54,6 +56,8 @@ class ICMPType(Resource):
'MASK_REQUEST': MASK_REQUEST,
'MASK_REPLY': MASK_REPLY,
'TRACEROUTE': TRACEROUTE,
'EXPERIMENTAL_ONE': EXPERIMENTAL_ONE,
'EXPERIMENTAL_TWO': EXPERIMENTAL_TWO,
}.items()
)

Expand Down

0 comments on commit a669584

Please sign in to comment.