| Summary: | typo in ip_fw.c | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Bernard Steiner <bs> |
| Component: | kern | Assignee: | Luigi Rizzo <luigi> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.1-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->luigi Over to the inventor. State Changed From-To: open->closed applied proposed fix (same as PR19511) |
/sys/netinet/ip_fw.c about line 175 in 4.1R, 4.1.1R (and possibly 5.0 current ?) contain the line SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, dyn_short_lifetime, CTLFLAG_RW, /* --------------------------------------^^^^^ */ &dyn_rst_lifetime, 0, "Lifetime of dyn. rules for other situations"); /* -----^^^ */ which I believe makes the dynamic ruleset time out pre-maturely. Fix: Looks like a cut-and-paste typo to me. I suggest: SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, dyn_short_lifetime, CTLFLAG_RW, &dyn_short_lifetime, 0, "Lifetime of dyn. rules for other situations"); /* -----^^^^^ */ but please do check that I am not mistaken :-)