Skip to content

Commit

Permalink
removed in[6]_gif_rtcachetime to in[6]_gif_rtcachettl.
Browse files Browse the repository at this point in the history
I believe the latter ones are more intuitive.
  • Loading branch information
jinmei committed Oct 25, 2001
1 parent 704c3e0 commit ff17837
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions kame/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
/* $KAME: in_gif.c,v 1.76 2001/10/25 09:26:43 jinmei Exp $ */
/* $KAME: in_gif.c,v 1.77 2001/10/25 09:29:02 jinmei Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -103,7 +103,7 @@ int ip_gif_ttl = GIF_TTL;
int ip_gif_ttl = 0;
#endif
#ifndef __OpenBSD__
static int in_gif_rtcachetime = 300; /* XXX appropriate value? configurable? */
static int in_gif_rtcachettl = 300; /* XXX appropriate value? configurable? */
#endif
#ifdef __FreeBSD__
SYSCTL_INT(_net_inet_ip, IPCTL_GIF_TTL, gifttl, CTLFLAG_RW,
Expand Down Expand Up @@ -361,7 +361,7 @@ in_gif_output(ifp, family, m)
return ENETUNREACH; /*XXX*/
}

sc->rtcache_expire = time_second + in_gif_rtcachetime;
sc->rtcache_expire = time_second + in_gif_rtcachettl;
}

error = ip_output(m, NULL, &sc->gif_ro, 0, NULL);
Expand Down
6 changes: 3 additions & 3 deletions kame/sys/netinet6/in6_gif.c
@@ -1,4 +1,4 @@
/* $KAME: in6_gif.c,v 1.79 2001/10/25 09:26:44 jinmei Exp $ */
/* $KAME: in6_gif.c,v 1.80 2001/10/25 09:29:02 jinmei Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -91,7 +91,7 @@
static int gif_validate6 __P((const struct ip6_hdr *, struct gif_softc *,
struct ifnet *));
#ifndef __OpenBSD__
static int in6_gif_rtcachetime = 300; /* XXX see in_gif.c */
static int in6_gif_rtcachettl = 300; /* XXX see in_gif.c */
#endif

extern struct domain inet6domain;
Expand Down Expand Up @@ -372,7 +372,7 @@ in6_gif_output(ifp, family, m)
return ENETUNREACH; /* XXX */
}

sc->rtcache_expire = time_second + in6_gif_rtcachetime;
sc->rtcache_expire = time_second + in6_gif_rtcachettl;
}

#ifdef IPV6_MINMTU
Expand Down

0 comments on commit ff17837

Please sign in to comment.