Date: Thu, 17 Jun 2010 19:46:36 +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: <201006171946.o5HJkjxX074366@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mlaier 2010-06-17 19:46:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) usr.sbin/arp arp.c Log: SVN rev 209267 on 2010-06-17 19:46:36Z 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. Revision Changes Path 1.71.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?201006171946.o5HJkjxX074366>