Skip to content

Commit 7ea97d7

Browse files
authored
BGP: support undefined generic transitive extended communities sub-types (#4745)
1 parent 4f35234 commit 7ea97d7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scapy/contrib/bgp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,9 @@ def m2i(self, pkt, m):
17411741
elif type_low == 0x09:
17421742
ret = BGPPAExtCommTrafficMarking(m)
17431743

1744+
else:
1745+
ret = conf.raw_layer(m)
1746+
17441747
elif type_high == 0x81:
17451748
# FlowSpec
17461749
if type_low == 0x08:

0 commit comments

Comments
 (0)