Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
radvdump: show routes with prefixlen > 64
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: 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: * https://bugzilla.redhat.com/show_bug.cgi?id=1188891 * https://tools.ietf.org/html/rfc4191#section-2.3
- Loading branch information