From owner-freebsd-hackers Wed Mar 5 15:16:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA18625 for hackers-outgoing; Wed, 5 Mar 1997 15:16:26 -0800 (PST) Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA18620 for ; Wed, 5 Mar 1997 15:16:24 -0800 (PST) Received: from spiffy.cybernet.com (spiffy.cybernet.com [192.245.33.55]) by gateway.cybernet.com (8.7.6/8.7.3) with SMTP id SAA09758 for ; Wed, 5 Mar 1997 18:17:43 -0500 (EST) Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 05 Mar 1997 15:33:03 -0500 (EST) Organization: Cybernet Systems Corporation From: Mark Taylor To: freebsd-hackers@freebsd.org Subject: "arp -n" option Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk While performing a patch to /usr/sbin/arp to add the "-n" option, I noticed that it already existed! The man page says nothing about it. :) The only problem with using it is that it gets ignored when doing "arp -a -n", because when the "-a" option is seen in the switch() after getopt(), dump(0) is called immediately, and then arp exits. The "-n" option must be first in order for it to work. I can imagine that when, one fine day, the "-n" option IS documented, that a user goes "arp -a -n" and sees the program hang doing a DNS lookup, he/she is going to be pissed that it doesn't work. :) That's what has been happening to me. :) -------------------------------------------------------------------- Mark J. Taylor Network R&D Manager Cybernet Systems mtaylor@cybernet.com 727 Airport Blvd. PHONE (313) 668-2567 Ann Arbor, MI 48108 FAX (313) 668-8780 --------------------------------------------------------------------