cvs commit: src/sbin/ifconfig af_link.c ifconfig.c ifconfig.h ifieee80211.c ifmac.c ifmedia.c ifvlan.c

Sam Leffler sam at FreeBSD.org
Fri Dec 31 11:46:28 PST 2004


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


More information about the cvs-src mailing list