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 rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.217 retrieving revision 1.218 diff -u -p -r1.217 -r1.218 --- src/sys/netinet/ip_input.c 2005/06/09 02:19:59 1.217 +++ src/sys/netinet/ip_input.c 2005/06/28 19:38:58 1.218 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.217 2005/06/09 02:19:59 atatat Exp $ */ +/* $NetBSD: ip_input.c,v 1.218 2005/06/28 19:38:58 seanb Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -98,7 +98,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.217 2005/06/09 02:19:59 atatat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.218 2005/06/28 19:38:58 seanb Exp $"); #include "opt_inet.h" #include "opt_gateway.h" @@ -1872,7 +1872,7 @@ ip_forward(struct mbuf *m, int srcrt) rtalloc(&ipforward_rt); if (ipforward_rt.ro_rt == 0) { - icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, dest, 0); + icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NET, dest, 0); return; } rt = ipforward_rt.ro_rt;