Bug 20451

Summary: net.inet.ip.fw.dyn_short_lifetime bound to wrong variable
Product: Base System Reporter: roland+freebsd <roland+freebsd>
Component: kernAssignee: Luigi Rizzo <luigi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description roland+freebsd 2000-08-07 06:20:00 UTC
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.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 10:07:08 UTC
Responsible Changed
From-To: freebsd-bugs->luigi

Luigi, this one looks different and makes sense, I think.
Comment 2 Luigi Rizzo freebsd_committer freebsd_triage 2000-10-26 01:30:15 UTC
State Changed
From-To: open->closed

yet another report for the same problem... fixed