Print this page
8541 pfiles does not properly identify PF_KEY or PF_POLICY
Reviewed by: Mike Zeller <mike.zeller@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>

@@ -22,11 +22,11 @@
 /*
  * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
  */
 /*
- * Copyright (c) 2013 Joyent, Inc.  All Rights reserved.
+ * Copyright (c) 2017 Joyent, Inc.  All Rights reserved.
  */
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>

@@ -554,10 +554,12 @@
         case AF_X25:            p = "AF_X25";           break;
         case AF_OSINET:         p = "AF_OSINET";        break;
         case AF_GOSIP:          p = "AF_GOSIP";         break;
         case AF_IPX:            p = "AF_IPX";           break;
         case AF_ROUTE:          p = "AF_ROUTE";         break;
+        case AF_KEY:            p = "AF_KEY";           break;
+        case AF_POLICY:         p = "AF_POLICY";        break;
         case AF_LINK:           p = "AF_LINK";          break;
         }
 
         (void) printf("\t%s: %s\n", str, p);
 }