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,32 **** /* * 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. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> --- 22,32 ---- /* * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. */ /* ! * Copyright (c) 2017 Joyent, Inc. All Rights reserved. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h>
*** 554,563 **** --- 554,565 ---- 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); }