Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet6/ip6_input.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet6/ip6_input.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.30 retrieving revision 1.33 diff -u -p -r1.30 -r1.33 --- src/sys/netinet6/ip6_input.c 2000/12/14 17:36:45 1.30 +++ src/sys/netinet6/ip6_input.c 2000/12/28 21:41:00 1.33 @@ -1,4 +1,4 @@ -/* $NetBSD: ip6_input.c,v 1.30 2000/12/14 17:36:45 thorpej Exp $ */ +/* $NetBSD: ip6_input.c,v 1.33 2000/12/28 21:41:00 thorpej Exp $ */ /* $KAME: ip6_input.c,v 1.121 2000/08/31 06:07:29 itojun Exp $ */ /* @@ -188,8 +188,8 @@ ip6_init() #ifdef PFIL_HOOKS /* Register our Packet Filter hook. */ - inet6_pfil_hook.ph_key = (void *)(u_long) AF_INET6; - inet6_pfil_hook.ph_dlt = DLT_RAW; + inet6_pfil_hook.ph_type = PFIL_TYPE_AF; + inet6_pfil_hook.ph_af = AF_INET6; i = pfil_head_register(&inet6_pfil_hook); if (i != 0) printf("ip6_init: WARNING: unable to register pfil hook, "