freebsd-skq/sbin/ifconfig
sam 65cf57f523 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.
2004-12-31 19:46:27 +00:00
..
af_atalk.c Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00
af_inet6.c Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00
af_inet.c Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00
af_ipx.c Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00
af_link.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifclone.c Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00
ifconfig.8 Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00
ifconfig.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifconfig.h Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifieee80211.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifmac.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifmedia.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
ifvlan.c Fix special status reporting. Prior to the reorg there was 2004-12-31 19:46:27 +00:00
Makefile Overhaul to cleanup some of the tangled logic that's grown over the years. 2004-12-08 19:18:07 +00:00