patch-pre2.0.14-final2.0 linux/net/ipv4/ip_fw.c
Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Jun 9 09:22:34 1996
- Orig file:
pre2.0.14/linux/net/ipv4/ip_fw.c
- Orig date:
Sat Jun 1 20:11:37 1996
diff -u --recursive --new-file pre2.0.14/linux/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c
@@ -546,7 +546,7 @@
* Note that redirport will become
* 0xFFFF for non-TCP/UDP packets.
*/
- *redirport = dst_port;
+ *redirport = htons(dst_port);
}
answer = FW_REDIRECT;
} else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this