Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2004 19:46:27 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/ifconfig af_link.c ifconfig.c ifconfig.h ifieee80211.c ifmac.c ifmedia.c ifvlan.c
Message-ID:  <200412311946.iBVJkRsi029615@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sam         2004-12-31 19:46:27 UTC

  FreeBSD src repository

  Modified files:
    sbin/ifconfig        af_link.c ifconfig.c ifconfig.h 
                         ifieee80211.c ifmac.c ifmedia.c ifvlan.c 
  Log:
  Fix special status reporting. Prior to the reorg there was
  special-purpose code to display status for an interface for
  state that was not address-oriented.  This status reporting
  was merged in to the address-oriented status reporting but
  did not work for link address reporting (as discovered with
  fwip interfaces).  Correct this mis-merge and eliminate the
  bogus kludge that was used for link-level address reporting.
  
  o add an af_other_status method for an address family for
    reporting status of things like media, vlan, etc.
  o call the af_other_status methods after reporting address
    status for an interface
  o special-case link address status; when reporting all
    status for an interface invoke it specially prior to
    reporting af_other_status methods (since it requires the
    sockaddr_dl that is passed in to status separately from
    the rtmsg address state)
  o correct the calling convention for link address status;
    don't cast types, construct the proper parameter
  
  This fixes ifconfig on fwip interfaces.
  
  Revision  Changes    Path
  1.2       +4 -2      src/sbin/ifconfig/af_link.c
  1.110     +22 -7     src/sbin/ifconfig/ifconfig.c
  1.15      +10 -1     src/sbin/ifconfig/ifconfig.h
  1.15      +2 -2      src/sbin/ifconfig/ifieee80211.c
  1.4       +2 -2      src/sbin/ifconfig/ifmac.c
  1.18      +2 -2      src/sbin/ifconfig/ifmedia.c
  1.7       +2 -2      src/sbin/ifconfig/ifvlan.c



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