Date: Thu, 2 Sep 2004 12:52:42 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Peter Wemm <peter@wemm.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h Message-ID: <20040902195242.GB10756@odin.ac.hmc.edu> In-Reply-To: <200409021137.52410.peter@wemm.org> References: <200409011822.i81IMERb017602@repoman.freebsd.org> <200409021137.52410.peter@wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 02, 2004 at 11:37:52AM -0700, Peter Wemm wrote: > 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.=20 > > 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 >=20 > I'd like this to get into 5.x if possible too. It'll ease cross-booting= =20 > of 5.x and 6.x kernels for a while. Granted, that wont be a good thing= =20 > to do after things diverge more, but for now this will help. That's my plan. It needs another two days in current before I can submit and MT5 request though. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBN3oJXY6L6fI4GtQRAp1PAJ4vGb9OF+LZ2EJHzvMJm9w+NZP1DwCfTBvy 2DUwVeidX7XGLJDIYfqOMvo= =4v9y -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040902195242.GB10756>