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/raw_ip.c,v retrieving revision 1.87.2.2 retrieving revision 1.87.2.3 diff -u -p -r1.87.2.2 -r1.87.2.3 --- src/sys/netinet/raw_ip.c 2006/12/30 20:50:33 1.87.2.2 +++ src/sys/netinet/raw_ip.c 2007/02/26 09:11:45 1.87.2.3 @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip.c,v 1.87.2.2 2006/12/30 20:50:33 yamt Exp $ */ +/* $NetBSD: raw_ip.c,v 1.87.2.3 2007/02/26 09:11:45 yamt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.87.2.2 2006/12/30 20:50:33 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.87.2.3 2007/02/26 09:11:45 yamt Exp $"); #include "opt_inet.h" #include "opt_ipsec.h" @@ -266,7 +266,7 @@ rip_pcbnotify(struct inpcbtable *table, } void * -rip_ctlinput(int cmd, struct sockaddr *sa, void *v) +rip_ctlinput(int cmd, const struct sockaddr *sa, void *v) { struct ip *ip = v; void (*notify)(struct inpcb *, int) = in_rtchange; @@ -285,12 +285,12 @@ rip_ctlinput(int cmd, struct sockaddr *s else if (errno == 0) return NULL; if (ip) { - rip_pcbnotify(&rawcbtable, satosin(sa)->sin_addr, + rip_pcbnotify(&rawcbtable, satocsin(sa)->sin_addr, ip->ip_src, ip->ip_p, errno, notify); /* XXX mapped address case */ } else - in_pcbnotifyall(&rawcbtable, satosin(sa)->sin_addr, errno, + in_pcbnotifyall(&rawcbtable, satocsin(sa)->sin_addr, errno, notify); return NULL; }