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/netinet/ip_input.c,v retrieving revision 1.123 retrieving revision 1.124 diff -u -p -r1.123 -r1.124 --- src/sys/netinet/ip_input.c 2000/12/14 17:36:44 1.123 +++ src/sys/netinet/ip_input.c 2000/12/22 20:01:18 1.124 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.123 2000/12/14 17:36:44 thorpej Exp $ */ +/* $NetBSD: ip_input.c,v 1.124 2000/12/22 20:01:18 thorpej Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -319,8 +319,8 @@ ip_init() #ifdef PFIL_HOOKS /* Register our Packet Filter hook. */ - inet_pfil_hook.ph_key = (void *)(u_long) AF_INET; - inet_pfil_hook.ph_dlt = DLT_RAW; + inet_pfil_hook.ph_type = PFIL_TYPE_AF; + inet_pfil_hook.ph_af = AF_INET; i = pfil_head_register(&inet_pfil_hook); if (i != 0) printf("ip_init: WARNING: unable to register pfil hook, "