Date: Thu, 17 Jun 2010 20:38:18 +0000 (UTC) From: Max Laier <mlaier@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/arp arp.c Message-ID: <201006172038.o5HKcRKs079406@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mlaier 2010-06-17 20:38:18 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
usr.sbin/arp arp.c
Log:
SVN rev 209271 on 2010-06-17 20:38:18Z by mlaier
MFC r209063:
Cache the last result from if_indextoname for printing. This speeds up
"arp -an" when using a lot of aliases (on a single interface).
A better fix would include a better interface for if_indextoname than
getting the whole address list from the kernel just to find the one
index->name mapping.
> Description of fields to fill in above: 76 columns --|
> PR: If a GNATS PR is affected by the change.
> Submitted by: If someone else sent in the change.
> Reviewed by: If someone else reviewed your modification.
> Approved by: If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email.
> Security: Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.
_M arp
M arp/arp.c
Revision Changes Path
1.65.2.6 +9 -3 src/usr.sbin/arp/arp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006172038.o5HKcRKs079406>
