From owner-freebsd-hackers Thu Mar 6 10:01:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA01529 for hackers-outgoing; Thu, 6 Mar 1997 10:01:46 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id KAA01521 for ; Thu, 6 Mar 1997 10:01:26 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id TAA10080; Thu, 6 Mar 1997 19:01:02 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id SAA08253; Thu, 6 Mar 1997 18:58:52 +0100 (MET) Message-ID: Date: Thu, 6 Mar 1997 18:58:52 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: mtaylor@cybernet.com (Mark Taylor) Cc: freebsd-hackers@freebsd.org Subject: Re: "arp -n" option References: X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Mark Taylor on Mar 5, 1997 15:33:03 -0500 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Mark Taylor wrote: > 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. :) This should be fixed. > 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. This should be fixed, too. The dump() needs to be moved after the switch. Write a PR for it, preferably with a patch. ;) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)