From e91a5a8a8f295a31c3bad24a88490ac45ee6ef57 Mon Sep 17 00:00:00 2001 From: yar Date: Fri, 18 Jul 2003 13:48:06 +0000 Subject: Implement a new option: -i, which will allow to limit the scope of operation to the ARP entries on a particular interface. It should be useful on machines with numerous network interfaces, e.g., on inter-VLAN routers. PR: bin/54151 Submitted by: Dmitry Morozovsky Discussed on: -net MFC after: 2 weeks --- usr.sbin/arp/arp.8 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'usr.sbin/arp/arp.8') diff --git a/usr.sbin/arp/arp.8 b/usr.sbin/arp/arp.8 index 89aa7a5..7067338 100644 --- a/usr.sbin/arp/arp.8 +++ b/usr.sbin/arp/arp.8 @@ -41,9 +41,11 @@ .Sh SYNOPSIS .Nm .Op Fl n +.Op Fl i Ar interface .Ar hostname .Nm .Op Fl n +.Op Fl i Ar interface .Fl a .Nm .Fl d Ar hostname @@ -99,6 +101,12 @@ Alternatively, the flag may be combined with the .Fl a flag to delete all entries. +.It Fl i Ar interface +Limit the operation scope to the +.Tn ARP +entries on +.Ar interface . +Applicable to the display operations only. .It Fl n Show network addresses as numbers (normally .Nm -- cgit v1.1