Const-poison ip_stf_ttl to make it clear that the variable is not

modified at run-time.
This commit is contained in:
rwatson 2004-03-07 05:15:42 +00:00
parent 23828c5425
commit a99c4f7687

View File

@ -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 =