summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
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 ef8a7b9..5a07e3b 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -323,11 +323,11 @@ main(int argc, char *argv[])
#ifdef INET6
else if (strcmp(optarg, "inet6") == 0)
af = AF_INET6;
-#endif /*INET6*/
-#ifdef INET6
+#endif
+#ifdef IPSEC
else if (strcmp(optarg, "pfkey") == 0)
af = PF_KEY;
-#endif /*INET6*/
+#endif
else if (strcmp(optarg, "unix") == 0)
af = AF_UNIX;
else if (strcmp(optarg, "atalk") == 0)
OpenPOWER on IntegriCloud