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.114.4.6 retrieving revision 1.114.4.7 diff -u -p -r1.114.4.6 -r1.114.4.7 --- src/sys/netinet/ip_input.c 2001/04/24 22:21:20 1.114.4.6 +++ src/sys/netinet/ip_input.c 2002/02/26 20:57:03 1.114.4.7 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.114.4.6 2001/04/24 22:21:20 he Exp $ */ +/* $NetBSD: ip_input.c,v 1.114.4.7 2002/02/26 20:57:03 he Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -138,6 +138,8 @@ /* just for gif_ttl */ #include #include "gif.h" +#include +#include "gre.h" #ifdef MROUTING #include @@ -1770,6 +1772,12 @@ ip_sysctl(name, namelen, oldp, oldlenp, &ip_gif_ttl)); #endif +#if NGRE > 0 + case IPCTL_GRE_TTL: + return(sysctl_int(oldp, oldlenp, newp, newlen, + &ip_gre_ttl)); +#endif + #ifndef IPNOPRIVPORTS case IPCTL_LOWPORTMIN: old = lowportmin;