summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-02-06 03:22:00 +0000
committerreyk <reyk@openbsd.org>2015-02-06 03:22:00 +0000
commitcaf42813694b6fab41c2950216556d299abee9fd (patch)
treef0345db6caa42760d399a9448a4603a9699609f8 /usr.bin/netstat/main.c
parentpackets stay within a routing domain. to move them, use pf(4) (diff)
downloadwireguard-openbsd-caf42813694b6fab41c2950216556d299abee9fd.tar.xz
wireguard-openbsd-caf42813694b6fab41c2950216556d299abee9fd.zip
Remove route/netstat -f encap in favor of ipsecctl -s flow.
OK deraadt@
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 5b0eb1f0bec..5465352a87f 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.103 2015/01/16 06:40:10 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.104 2015/02/06 03:22:00 reyk Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -200,8 +200,6 @@ main(int argc, char *argv[])
af = AF_LOCAL;
else if (strcmp(optarg, "unix") == 0)
af = AF_UNIX;
- else if (strcmp(optarg, "encap") == 0)
- af = PF_KEY;
else if (strcmp(optarg, "mpls") == 0)
af = AF_MPLS;
else if (strcmp(optarg, "pflow") == 0)