Date: Fri, 11 Jun 2010 19:35:05 +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: <201006111935.o5BJZSUQ059445@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mlaier 2010-06-11 19:35:05 UTC FreeBSD src repository Modified files: usr.sbin/arp arp.c Log: SVN rev 209063 on 2010-06-11 19:35:05Z by mlaier 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. Reported & analyzed by: Nick Rogers MFC after: 3 days Revision Changes Path 1.76 +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?201006111935.o5BJZSUQ059445>