Please make dpkt.bgp.BGP.Update.Attribute.ASPath.ASPathSegment objects set the
'len' field automatically to the length of the 'path' list, when encoding.
Currently, the 'len' field has to be set manually by the caller, which is
error-prone, e.g.:
dpkt.bgp.BGP.Update.Attribute.ASPath.ASPathSegment(
type=dpkt.bgp.AS_SEQUENCE,
len=1, # could be automatically set to len(path)
path=[64512])
Original issue reported on code.google.com by lengletr...@googlemail.com on 5 Aug 2010 at 2:59
Original issue reported on code.google.com by
lengletr...@googlemail.com
on 5 Aug 2010 at 2:59