Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/arp arp: Show U for Unreachable



details:   https://anonhg.NetBSD.org/src/rev/812e7bf97175
branches:  trunk
changeset: 944045:812e7bf97175
user:      roy <roy%NetBSD.org@localhost>
date:      Tue Sep 15 10:11:15 2020 +0000

description:
arp: Show U for Unreachable

diffstat:

 usr.sbin/arp/arp.8 |  6 ++++--
 usr.sbin/arp/arp.c |  7 +++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r 9f96f056eea4 -r 812e7bf97175 usr.sbin/arp/arp.8
--- a/usr.sbin/arp/arp.8        Tue Sep 15 10:05:36 2020 +0000
+++ b/usr.sbin/arp/arp.8        Tue Sep 15 10:11:15 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: arp.8,v 1.25 2020/09/11 15:28:29 roy Exp $
+.\"    $NetBSD: arp.8,v 1.26 2020/09/15 10:11:15 roy Exp $
 .\"
 .\" Copyright (c) 1985, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    from: @(#)arp.8 8.2 (Berkeley) 4/27/95
 .\"
-.Dd September 11, 2020
+.Dd September 15, 2020
 .Dt ARP 8
 .Os
 .Sh NAME
@@ -84,6 +84,8 @@
 Reachable
 .It S
 Stale
+.It U
+Unreachable
 .It W
 Waitdelete
 .It ?
diff -r 9f96f056eea4 -r 812e7bf97175 usr.sbin/arp/arp.c
--- a/usr.sbin/arp/arp.c        Tue Sep 15 10:05:36 2020 +0000
+++ b/usr.sbin/arp/arp.c        Tue Sep 15 10:11:15 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arp.c,v 1.66 2020/09/11 15:28:29 roy Exp $ */
+/*     $NetBSD: arp.c,v 1.67 2020/09/15 10:11:15 roy Exp $ */
 
 /*
  * Copyright (c) 1984, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)arp.c      8.3 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: arp.c,v 1.66 2020/09/11 15:28:29 roy Exp $");
+__RCSID("$NetBSD: arp.c,v 1.67 2020/09/15 10:11:15 roy Exp $");
 #endif
 #endif /* not lint */
 
@@ -539,6 +539,9 @@
                        case ND_LLINFO_PROBE:
                                (void)printf(" P");
                                break;
+                       case ND_LLINFO_UNREACHABLE:
+                               (void)printf(" U");
+                               break;
                        default:
                                (void)printf(" ?");
                                break;



Home | Main Index | Thread Index | Old Index