patch-2.1.75 linux/net/ipv4/ip_forward.c
Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipv4/fib_semantics.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Dec 21 17:41:30 1997
- Orig file:
v2.1.74/linux/net/ipv4/ip_forward.c
- Orig date:
Fri Dec 19 15:53:06 1997
diff -u --recursive --new-file v2.1.74/linux/net/ipv4/ip_forward.c linux/net/ipv4/ip_forward.c
@@ -184,7 +184,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