I try to set the AS_PATH attribute:
setAS=BGPPathAttr(type_flags="Transitive", type_code="AS_PATH",attr_len=None,attribute=None)
But Wireshark is saying that it is a malformed AS_PATH attribute.
I already have the other mandatory attributes in my Update message packet and they're doing well.
How to send a BGP Update message crafted packet with correct attributes?
I did like this and works.
When we have variables asking the
"length", please use"None".