Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dist/pf/net Fix pf module build. Adjust pfil_remove_hook...



details:   https://anonhg.NetBSD.org/src/rev/332b2cede8b0
branches:  trunk
changeset: 787742:332b2cede8b0
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sun Jun 30 17:23:52 2013 +0000

description:
Fix pf module build. Adjust pfil_remove_hook 3rd arguments.

diffstat:

 sys/dist/pf/net/pf_if.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 59478c30407c -r 332b2cede8b0 sys/dist/pf/net/pf_if.c
--- a/sys/dist/pf/net/pf_if.c   Sun Jun 30 16:04:36 2013 +0000
+++ b/sys/dist/pf/net/pf_if.c   Sun Jun 30 17:23:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf_if.c,v 1.22 2013/06/30 14:58:48 rmind Exp $ */
+/*     $NetBSD: pf_if.c,v 1.23 2013/06/30 17:23:52 njoly Exp $ */
 /*     $OpenBSD: pf_if.c,v 1.47 2007/07/13 09:17:48 markus Exp $ */
 
 /*
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pf_if.c,v 1.22 2013/06/30 14:58:48 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pf_if.c,v 1.23 2013/06/30 17:23:52 njoly Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -145,8 +145,8 @@
        struct pfi_kif *p;
        int i;
 
-       pfil_remove_hook(pfil_ifaddr_wrapper, NULL, PFIL_IFADDR, &if_pfil);
-       pfil_remove_hook(pfil_ifnet_wrapper, NULL, PFIL_IFNET, &if_pfil);
+       pfil_remove_hook(pfil_ifaddr_wrapper, NULL, PFIL_IFADDR, if_pfil);
+       pfil_remove_hook(pfil_ifnet_wrapper, NULL, PFIL_IFNET, if_pfil);
 
        for (i = 0; i < if_indexlim; i++) {
                struct ifnet *ifp = ifindex2ifnet[i];



Home | Main Index | Thread Index | Old Index