patch-2.1.80 linux/net/ipv4/ip_forward.c
Next file: linux/net/ipv4/ip_output.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Jan 15 14:33:07 1998
- Orig file:
v2.1.79/linux/net/ipv4/ip_forward.c
- Orig date:
Mon Jan 12 22:09:25 1998
diff -u --recursive --new-file v2.1.79/linux/net/ipv4/ip_forward.c linux/net/ipv4/ip_forward.c
@@ -178,7 +178,8 @@
{
#endif
maddr = inet_select_addr(dev2, rt->rt_gateway, RT_SCOPE_UNIVERSE);
- if (fw_res = ip_fw_masq_icmp(&skb, maddr) < 0) {
+ fw_res = ip_fw_masq_icmp(&skb, maddr);
+ if (fw_res < 0) {
kfree_skb(skb, FREE_READ);
return -1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov