diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-03-07 05:15:42 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-03-07 05:15:42 +0000 |
commit | a99c4f7687fec032729e77d8773a3839188312fe (patch) | |
tree | bc481d9b1d287da8a7e7fa553fe0849b4a091bda /sys/net | |
parent | 23828c5425c3eade6c12eb6a980830b5ec6dd36c (diff) | |
download | FreeBSD-src-a99c4f7687fec032729e77d8773a3839188312fe.zip FreeBSD-src-a99c4f7687fec032729e77d8773a3839188312fe.tar.gz |
Const-poison ip_stf_ttl to make it clear that the variable is not
modified at run-time.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_stf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = |