[radvd-devel-l] Debian Bug#287863

Pekka Savola pekkas at netcore.fi
Fri Feb 11 11:51:01 EST 2005


Hi,

On Fri, 11 Feb 2005, Andreas Rottmann wrote:
> | 12505 tun6to4         ff020000000000000000000000000001     1 0000000C 0
>
> | 186c186
> | <       while ( (ret=fscanf(fp, "%4u %*s %32[0-9A-Fa-f] %*x %*x %*x\n",
> | &if_idx, addr)) != EOF) {
> | ---
> | >       while ( (ret=fscanf(fp, "%5u %*s %32[0-9A-Fa-f] %*x %*x %*x\n",
> | &if_idx, addr)) != EOF) {
> `----
>
> IMO, it would make sense to drop the width completely, making it "%u
> %*s %32[...". What do you think?

Thanks for the report.  I'll patch this in the CVS by removing the 
width check.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings



More information about the radvd-devel-l mailing list