summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-05-08 07:18:48 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-05-08 07:18:48 +0000
commitcd1748b0cae331995944f243a3fc796754f89b92 (patch)
tree0bf0e14094eef7933d2bd8c7cd156ecf5fc525e8 /usr.bin/netstat/main.c
parent7934c01af99a8b19f8df337db8a3065bc951a333 (diff)
make -f mpls work. OK norby@
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 59694aec8b2..d3737f7e813 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.74 2008/01/03 21:01:40 claudio Exp $ */
+/* $OpenBSD: main.c,v 1.75 2008/05/08 07:18:47 claudio Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -187,6 +187,8 @@ main(int argc, char *argv[])
af = PF_KEY;
else if (strcmp(optarg, "atalk") == 0)
af = AF_APPLETALK;
+ else if (strcmp(optarg, "mpls") == 0)
+ af = AF_MPLS;
else if (strcmp(optarg, "mask") == 0)
af = 0xff;
else {