cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h
Brooks Davis
brooks at FreeBSD.org
Tue Sep 7 16:21:11 PDT 2004
brooks 2004-09-07 23:21:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sbin/ifconfig ifconfig.c
sys/net if.c if.h
Log:
MFC: if.c:1.202 if.h:1.90 ifconfig.c:1.107
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.
Approved by: re (scottl)
Revision Changes Path
1.106.2.1 +4 -1 src/sbin/ifconfig/ifconfig.c
1.199.2.2 +1 -0 src/sys/net/if.c
1.88.2.1 +1 -0 src/sys/net/if.h
More information about the cvs-src
mailing list