cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h
Peter Wemm
peter at wemm.org
Thu Sep 2 11:37:53 PDT 2004
On Wednesday 01 September 2004 11:22 am, Brooks Davis wrote:
> brooks 2004-09-01 18:22:14 UTC
>
> FreeBSD src repository
>
> Modified files:
> sbin/ifconfig ifconfig.c
> sys/net if.c if.h
> Log:
> Use a spare byte in struct if_data to store the structure size
> without increasing it. Add code to ifconfig to use this size to find
> the sockaddr_dl after the struct if_data in the routing message.
> This allows struct if_data to grow (up to 255 bytes) without breaking
> ifconfig.
>
> Submitted by: peter
>
> Revision Changes Path
> 1.107 +4 -1 src/sbin/ifconfig/ifconfig.c
> 1.202 +1 -0 src/sys/net/if.c
> 1.90 +1 -0 src/sys/net/if.h
I'd like this to get into 5.x if possible too. It'll ease cross-booting
of 5.x and 6.x kernels for a while. Granted, that wont be a good thing
to do after things diverge more, but for now this will help.
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
More information about the cvs-src
mailing list