aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_stf.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-03-07 05:15:42 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-03-07 05:15:42 +0000
commit591cf7ce2dd6f035deb17db9553c598a038f5168 (patch)
treebc481d9b1d287da8a7e7fa553fe0849b4a091bda /sys/net/if_stf.c
parentb7ac92ac5070c8885dc398ada65838047d95a080 (diff)
Const-poison ip_stf_ttl to make it clear that the variable is not
modified at run-time.
Notes
Notes: svn path=/head/; revision=126709
Diffstat (limited to 'sys/net/if_stf.c')
-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 88214f9d0a43..8c1ab87bf6f8 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 =