You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BGP-4 spec says that the marker must be "all ones", which means all bits set to one, not bytes equal to 0x01 as is currently done in Dpkt. This bug prevents generating BGP-4 packets correctly without specifying the correct marker field manually.
Specifically, please modify class dpkt.bgp.BGP to change:
('marker', '16s', '\x01' * 16),
into:
('marker', '16s', '\xff' * 16),
From lengletr...@googlemail.com on August 04, 2010 22:44:53
The BGP-4 spec says that the marker must be "all ones", which means all bits set to one, not bytes equal to 0x01 as is currently done in Dpkt. This bug prevents generating BGP-4 packets correctly without specifying the correct marker field manually.
Specifically, please modify class dpkt.bgp.BGP to change:
('marker', '16s', '\x01' * 16),
into:
('marker', '16s', '\xff' * 16),
Original issue: http://code.google.com/p/dpkt/issues/detail?id=37
The text was updated successfully, but these errors were encountered: