Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Add mpls into family address list
details: https://anonhg.NetBSD.org/src/rev/4cfab1876cfc
branches: trunk
changeset: 755932:4cfab1876cfc
user: kefren <kefren%NetBSD.org@localhost>
date: Tue Jun 29 12:38:12 2010 +0000
description:
Add mpls into family address list
diffstat:
usr.bin/netstat/main.c | 6 ++++--
usr.bin/netstat/netstat.1 | 5 ++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 2385896e85da -r 4cfab1876cfc usr.bin/netstat/main.c
--- a/usr.bin/netstat/main.c Tue Jun 29 05:51:53 2010 +0000
+++ b/usr.bin/netstat/main.c Tue Jun 29 12:38:12 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.75 2010/06/27 06:52:37 kefren Exp $ */
+/* $NetBSD: main.c,v 1.76 2010/06/29 12:38:12 kefren Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-__RCSID("$NetBSD: main.c,v 1.75 2010/06/27 06:52:37 kefren Exp $");
+__RCSID("$NetBSD: main.c,v 1.76 2010/06/29 12:38:12 kefren Exp $");
#endif
#endif /* not lint */
@@ -462,6 +462,8 @@
af = AF_ISO;
else if (strcmp(optarg, "atalk") == 0)
af = AF_APPLETALK;
+ else if (strcmp(optarg, "mpls") == 0)
+ af = AF_MPLS;
else
errx(1, "%s: unknown address family",
optarg);
diff -r 2385896e85da -r 4cfab1876cfc usr.bin/netstat/netstat.1
--- a/usr.bin/netstat/netstat.1 Tue Jun 29 05:51:53 2010 +0000
+++ b/usr.bin/netstat/netstat.1 Tue Jun 29 12:38:12 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: netstat.1,v 1.56 2010/06/27 06:52:37 kefren Exp $
+.\" $NetBSD: netstat.1,v 1.57 2010/06/29 12:38:12 kefren Exp $
.\"
.\" Copyright (c) 1983, 1990, 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -151,6 +151,9 @@
.Ar atalk ,
for
.Dv AF_APPLETALK ;
+.Ar mpls ,
+for
+.Dv AF_MPLS ;
and
.Ar local
or
Home |
Main Index |
Thread Index |
Old Index