Displaying 2 results from an estimated 2 matches for "saved_proto".
2006 Apr 13
3
[Bug 466] u.tcp used where u.udp should be, in tftp nat helper
...Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From netfilter@linuxace.com 2006-04-13 06:19 MET -------
Unclear which version kernel you're looking at, but this is correct in 2.6.latest
exp->saved_proto.udp.port
= ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port;
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2006 Apr 01
0
[Bug 466] New: u.tcp used where u.udp should be, in tftp nat helper
...x-2.6.x
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: NAT
AssignedTo: laforge@netfilter.org
ReportedBy: peter@cs.upt.ro
In net/ipv4/netfilter/ip_nat_tftp.c, in function help():
exp->saved_proto.udp.port = exp->tuple.dst.u.tcp.port;
Souldn't it be:
exp->saved_proto.udp.port = exp->tuple.dst.u.udp.port;
?
It works of course, as u is a union and tcp and udp fields are similar.
--
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You a...