
Rene Wilhelm wrote:
Could you tell me, as libbgpdump user, how 4-byte AS numbers smaller than 65536 will appear in the (ascii) AS paths?
Sorry, forgot to mention this. Since the format is still up in the air, the library internally uses (and externally provides) the function: char *print_asn(as_t asn) where as_t is a 32-bit integer (u_int32_t). It returns a pointer to a string buffer that is statically allocated in the library. At the moment this function returns "3333" for a 32-bit value of 3333 (0.3333) and "1.3333" for a 32-bit value of 68869 (1.3333). But it's trivial to modify it once someone makes a decision. Cheers, Lorenzo -- Lorenzo Colitti lorenzo@ripe.net Network Engineer +31-20-5354471 RIPE NCC www.ripe.net