| 1 | From Rawhide. Allows ARP to display in a Linux style. |
| 2 | |
| 3 | diff -Naur net-tools-1.60.orig/arp.c net-tools-1.60/arp.c |
| 4 | --- net-tools-1.60.orig/arp.c 2001-04-08 17:05:05.000000000 +0000 |
| 5 | +++ net-tools-1.60/arp.c 2003-09-12 22:36:51.000000000 +0000 |
| 6 | @@ -619,6 +619,7 @@ |
| 7 | fprintf(stderr, _(" arp [-v] [<HW>] [-i <if>] -Ds <hostname> <if> [netmask <nm>] pub <-''-\n\n")); |
| 8 | |
| 9 | fprintf(stderr, _(" -a display (all) hosts in alternative (BSD) style\n")); |
| 10 | + fprintf(stderr, _(" -e display (all) hosts in default (Linux) style\n")); |
| 11 | fprintf(stderr, _(" -s, --set set a new ARP entry\n")); |
| 12 | fprintf(stderr, _(" -d, --delete delete a specified entry\n")); |
| 13 | fprintf(stderr, _(" -v, --verbose be verbose\n")); |
| 14 | diff -Naur net-tools-1.60.orig/man/en_US/arp.8 net-tools-1.60/man/en_US/arp.8 |
| 15 | --- net-tools-1.60.orig/man/en_US/arp.8 2000-10-28 10:59:42.000000000 +0000 |
| 16 | +++ net-tools-1.60/man/en_US/arp.8 2003-09-12 22:36:51.000000000 +0000 |
| 17 | @@ -3,7 +3,7 @@ |
| 18 | arp \- manipulate the system ARP cache |
| 19 | .SH SYNOPSIS |
| 20 | .B arp |
| 21 | -.RB [ \-vn ] |
| 22 | +.RB [ \-evn ] |
| 23 | .RB [ "\-H type" ] |
| 24 | .RB [ "-i if" ] |
| 25 | .B -a |
| 26 | @@ -60,7 +60,7 @@ |
| 27 | shows numerical addresses instead of trying to determine symbolic host, port |
| 28 | or user names. |
| 29 | .TP |
| 30 | -.B "\-H type, \-\-hw-type type" |
| 31 | +.B "\-H type, \-\-hw-type type, \-t type" |
| 32 | When setting or reading the ARP cache, this optional parameter tells |
| 33 | .B arp |
| 34 | which class of entries it should check for. The default value of |
| 35 | @@ -81,7 +81,8 @@ |
| 36 | .B hostname |
| 37 | parameter is not used, |
| 38 | .B all |
| 39 | -entries will be displayed. |
| 40 | +entries will be displayed. |
| 41 | +The entries will be displayed in alternate (BSD) style. |
| 42 | .TP |
| 43 | .B "\-d hostname, \-\-delete hostname" |
| 44 | Remove any entry for the specified host. This can be used if the |
| 45 | @@ -92,6 +93,9 @@ |
| 46 | .BR ifa "'s" |
| 47 | hardware address. |
| 48 | .TP |
| 49 | +.B "\-e" |
| 50 | +Shows the entries in default (Linux) style. |
| 51 | +.TP |
| 52 | .B "\-i If, \-\-device If" |
| 53 | Select an interface. When dumping the ARP cache only entries matching |
| 54 | the specified interface will be printed. When setting a permanent or |