summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-07 05:15:42 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-07 05:15:42 +0000
commita99c4f7687fec032729e77d8773a3839188312fe (patch)
treebc481d9b1d287da8a7e7fa553fe0849b4a091bda /sys/net
parent23828c5425c3eade6c12eb6a980830b5ec6dd36c (diff)
downloadFreeBSD-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.c2
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 =
OpenPOWER on IntegriCloud