Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 1997 15:33:03 -0500 (EST)
From:      Mark Taylor <mtaylor@cybernet.com>
To:        freebsd-hackers@freebsd.org
Subject:   "arp -n" option
Message-ID:  <XFMail.970305181549.mtaylor@cybernet.com>

next in thread | raw e-mail | index | archive | help


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
--------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.970305181549.mtaylor>