summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-02-24 22:57:36 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-02-24 22:57:36 +0000
commit05c33cc0e9b69b11c15233c8563522f9f9578bff (patch)
treecc4c2b1b543deef8e95cce0e5c7d7fa38d1426df /usr.bin/netstat/main.c
parentcdbc65579e74936995182700e6fa578b351b90ba (diff)
Grok protocol/address family PF_KEY.
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 179eae97ab5..3f82ffa9055 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.15 1998/08/01 05:36:18 angelos Exp $ */
+/* $OpenBSD: main.c,v 1.16 1999/02/24 22:57:34 angelos Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ char copyright[] =
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-static char *rcsid = "$OpenBSD: main.c,v 1.15 1998/08/01 05:36:18 angelos Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.16 1999/02/24 22:57:34 angelos Exp $";
#endif
#endif /* not lint */
@@ -273,7 +273,7 @@ main(argc, argv)
else if (strcmp(optarg, "iso") == 0)
af = AF_ISO;
else if (strcmp(optarg, "encap") == 0)
- af = AF_ENCAP;
+ af = PF_KEY;
else if (strcmp(optarg, "atalk") == 0)
af = AF_APPLETALK;
else {