| Summary: | net.inet.ip.fw.dyn_short_lifetime bound to wrong variable | ||
|---|---|---|---|
| Product: | Base System | Reporter: | roland+freebsd <roland+freebsd> |
| Component: | kern | Assignee: | Luigi Rizzo <luigi> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->luigi Luigi, this one looks different and makes sense, I think. State Changed From-To: open->closed yet another report for the same problem... fixed |
Left as an exercise for the reader of the fix. Fix: #endif--85weU2TDpgN03KrYGGu1dxUyJU1dbintd61Gq2nLdR3A6x2a Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -ubp /sys/netinet/ip_fw.c.~3~ /sys/netinet/ip_fw.c --- /sys/netinet/ip_fw.c.~3~ Sun Aug 6 22:16:08 2000 +++ /sys/netinet/ip_fw.c Sun Aug 6 22:16:08 2000 @@ -173,7 +173,7 @@ SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, dy SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, dyn_rst_lifetime, CTLFLAG_RW, &dyn_rst_lifetime, 0, "Lifetime of dyn. rules for rst"); SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, dyn_short_lifetime, CTLFLAG_RW, - &dyn_rst_lifetime, 0, "Lifetime of dyn. rules for other situations"); + &dyn_short_lifetime, 0, "Lifetime of dyn. rules for other situations"); #endif /* STATEFUL */ How-To-Repeat: Left as an exercise for the reader of the fix.