patch-2.1.73 linux/net/ipv4/arp.c
Next file: linux/net/ipv4/fib_frontend.c
Previous file: linux/net/ipv4/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Dec 10 09:45:16 1997
- Orig file:
v2.1.72/linux/net/ipv4/arp.c
- Orig date:
Mon Dec 1 12:04:16 1997
diff -u --recursive --new-file v2.1.72/linux/net/ipv4/arp.c linux/net/ipv4/arp.c
@@ -1,6 +1,6 @@
/* linux/net/inet/arp.c
*
- * Version: $Id: arp.c,v 1.56 1997/11/24 12:51:47 freitag Exp $
+ * Version: $Id: arp.c,v 1.57 1997/12/09 16:11:30 jes Exp $
*
* Copyright (C) 1994 by Florian La Roche
*
@@ -1532,7 +1532,8 @@
int err;
if ((r->arp_flags & ATF_PERM) && !(r->arp_flags & ATF_COM))
- return -EINVAL;
+ r->arp_flags |= ATF_COM;
+
err = ip_route_output(&rt, ip, 0, 1, dev ? dev->ifindex : 0);
if (err)
return err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov