From a99c4f7687fec032729e77d8773a3839188312fe Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 7 Mar 2004 05:15:42 +0000 Subject: Const-poison ip_stf_ttl to make it clear that the variable is not modified at run-time. --- sys/net/if_stf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index 88214f9..8c1ab87 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -141,7 +141,7 @@ struct stf_softc { static LIST_HEAD(, stf_softc) stf_softc_list; static MALLOC_DEFINE(M_STF, STFNAME, "6to4 Tunnel Interface"); -static int ip_stf_ttl = 40; +static const int ip_stf_ttl = 40; extern struct domain inetdomain; struct protosw in_stf_protosw = -- cgit v1.1