Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 18:22:14 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h
Message-ID:  <200409011822.i81IMERb017602@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409011822.i81IMERb017602>