GTiroadkill / dpkt

Automatically exported from code.google.com/p/dpkt
Other
0 stars 0 forks source link

BGP4MP parsing assumes IPv4 addresses in the header #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
dpkt.mrt.BGP4MPMessage{,_32} have the format for the 'src_ip' and 'dst_ip' 
fields hard-coded to 'I'. However, the size of these two fields depends on the 
value of the 'family' field, as they can store IPv6 addresses.

Original issue reported on code.google.com by clint.he...@gmail.com on 26 Jul 2013 at 3:09