From owner-cvs-src@FreeBSD.ORG Tue Sep 7 23:21:11 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1368B16A4CE; Tue, 7 Sep 2004 23:21:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4B7E43D31; Tue, 7 Sep 2004 23:21:10 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i87NLA9V045541; Tue, 7 Sep 2004 23:21:10 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i87NLA5c045540; Tue, 7 Sep 2004 23:21:10 GMT (envelope-from brooks) Message-Id: <200409072321.i87NLA5c045540@repoman.freebsd.org> From: Brooks Davis Date: Tue, 7 Sep 2004 23:21:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 23:21:11 -0000 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