Closed pavlix closed 9 years ago
Current radvdump code blindly copies over eight bytes of route prefix but its size in bytes can actually be zero, eight or sixteen.
Use the following /etc/radvd.conf to reproduce:
/etc/radvd.conf
interface eth0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 4; route 2001:db8:0:0:11::/80 {}; };
Output before the change:
route 2001:db8::/80 { AdvRoutePreference medium; AdvRouteLifetime 12; }; # End of route definition
Output after the change:
route 2001:db8:0:0:11::/80 { AdvRoutePreference medium; AdvRouteLifetime 12; }; # End of route definition
See also:
Current radvdump code blindly copies over eight bytes of route prefix but its size in bytes can actually be zero, eight or sixteen.
Use the following
/etc/radvd.conf
to reproduce:Output before the change:
Output after the change:
See also: