Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 11:30:14 -0700 (PDT)
From:      Jonathan Lemon <jlemon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/ifconfig ifconfig.c
Message-ID:  <200110171830.f9HIUEW68725@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jlemon      2001/10/17 11:30:14 PDT

  Modified files:
    sbin/ifconfig        ifconfig.c 
  Log:
  When specifying an interface to ifconfig, first look up the interface
  index, then retrieve statistics for that index, rather than retrieving
  all interfaces and then looking for a matching name.  This allows the
  user to refer to an interface via an alias name.
  
  While I'm here, also perform a few assorted cleanups.
  
  Revision  Changes    Path
  1.70      +12 -26    src/sbin/ifconfig/ifconfig.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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