Hello All,

  I’ve just started looking at libbgpdump for a project where I will be parsing 
MRT/BGP data.

  I’ve managed, following the example/advice I’ve seen, to get a basic loop 
running through an update file from the repository working.

  However, I don’t seem to be able to find the ASPATH component in the parsed 
data structure.

  I can see the type/subtype of the data block is 
BGPDUMP_TYPE_ZEBRA_BGP/BGPDUMP_SUBTYPE_ZEBRA_BGP_MESSAGE. I can also see that 
the BGPDUMP_BODY is a discriminated union based on these values.  I can see 
that BGPDUMP_ENTRY.attr should probably contain an ASPATH but it doesn’t seem 
to be set ever.  

  Should I be expecting the ASPATH to be set in this case?  Should I be doing 
something different (calling some init function after discovering the 
BGPDUMP_BODY is of the right type?).

  Thanks!

Rob

  

Reply via email to