net-tools/net-tools-1.57-bug22040.patch
cvsdist 493a8e0302 auto-import changelog data from net-tools-1.57-6.src.rpm
Sun Apr 08 2001 Preston Brown <pbrown@redhat.com>
- use find_lang macro
- less specific locale dirs for man pages
Mon Apr 02 2001 Preston Brown <pbrown@redhat.com>
- don't use this version of rarp, doesn't work with our 2.4.
Tue Feb 06 2001 Crutcher Dunnavant <crutcher@redhat.com>
- fixed man page typo, closing bug #25921
Thu Feb 01 2001 Crutcher Dunnavant <crutcher@redhat.com>
- applied twaugh's patch to close bug #25474
- which was a buffer length bug.
Wed Dec 27 2000 Jeff Johnson <jbj@redhat.com>
- locales not initialized correctly (#20570).
- arp: document -e option (#22040).
2004-09-09 09:08:30 +00:00

51 lines
1.8 KiB
Diff

--- net-tools-1.57/arp.c.orig Sun May 14 17:57:41 2000
+++ net-tools-1.57/arp.c Sat Nov 25 15:05:27 2000
@@ -618,6 +618,7 @@
fprintf(stderr, _(" arp [-v] [<HW>] [-i <if>] -Ds <hostname> <if> [netmask <nm>] pub <-''-\n\n"));
fprintf(stderr, _(" -a display (all) hosts in alternative (BSD) style\n"));
+ fprintf(stderr, _(" -e display (all) hosts in default (Linux) style\n"));
fprintf(stderr, _(" -s, --set set a new ARP entry\n"));
fprintf(stderr, _(" -d, --delete delete a specified entry\n"));
fprintf(stderr, _(" -v, --verbose be verbose\n"));
--- net-tools-1.57/man/en_US/arp.8.orig Sat Nov 25 15:13:26 2000
+++ net-tools-1.57/man/en_US/arp.8 Sat Nov 25 15:15:12 2000
@@ -3,7 +3,7 @@
arp \- manipulate the system ARP cache
.SH SYNOPSIS
.B arp
-.RB [ \-vn ]
+.RB [ \-evn ]
.RB [ "\-H type" ]
.RB [ "-i if" ]
.B -a
@@ -60,7 +60,7 @@
shows numerical addresses instead of trying to determine symbolic host, port
or user names.
.TP
-.B "\-H type, \-\-hw-type type"
+.B "\-H type, \-\-hw-type type, \-t type"
When setting or reading the ARP cache, this optional parameter tells
.B arp
which class of entries it should check for. The default value of
@@ -81,7 +81,8 @@
.B hostname
parameter is not used,
.B all
-entries will be displayed.
+entries will be displayed.
+The entries will be displayed in alternate (BSD) style.
.TP
.B "\-d hostname, \-\-delete hostname"
Remove any entry for the specified host. This can be used if the
@@ -91,6 +92,9 @@
Use the interface
.BR ifa "'s"
hardware address.
+.TP
+.B "\-e"
+Shows the entries in default (Linux) style.
.TP
.B "\-i If, \-\-device If"
Select an interface. When dumping the ARP cache only entries matching