Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h

From: Ken Smith <kensmith_at_cse.Buffalo.EDU>
Date: Sun, 12 Dec 2004 16:02:40 -0500
On Sun, Dec 12, 2004 at 12:53:21PM -0800, Brooks Davis wrote:

> ifi_mtu, etc remain in the same location because the two new variables
> fill in the hidden padding required to align ifi_mtu.  I've verified
> that old and new ifconfigs work with old and new kernels.  The change
> will allow 4.11 ifconfigs to work with 6.x if we add fields to struct
> if_data (fairly probable).

Ok, thanks.  Since you were relying on invisible padding you had me
worried. ;-)

-- 
						Ken Smith
- From there to here, from here to      |       kensmith_at_cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |
Received on Sun Dec 12 2004 - 21:02:48 UTC