diff options
author | wollman <wollman@FreeBSD.org> | 1994-10-11 23:16:38 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-10-11 23:16:38 +0000 |
commit | ffabe2a5adaa26dfaf87b217a6866cd4408ba80f (patch) | |
tree | 97b87aa06a9afc8f78538511844af7ad899b7c92 /sys/net/if_ethersubr.c | |
parent | 57cd07355619aad9842ca0ef86aabb85e8418073 (diff) | |
download | FreeBSD-src-ffabe2a5adaa26dfaf87b217a6866cd4408ba80f.zip FreeBSD-src-ffabe2a5adaa26dfaf87b217a6866cd4408ba80f.tar.gz |
Fix a bug which caused panics when attempting to change just the flags of
a route. (This still doesn't work, but it doesn't panic now.) It looks
like there may be a number of incipient bugs in this code.
Also, get ready for the time when all IP gateway routes are cloning, which
is necessary to keep proper TCP statistics.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index daba4b6..3929fa3 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: if_ethersubr.c,v 1.2 1994/08/02 07:46:14 davidg Exp $ */ #include <sys/param.h> @@ -138,7 +138,7 @@ ether_output(ifp, m0, dst, rt0) #ifdef INET case AF_INET: - if (!arpresolve(ac, rt, m, dst, edst)) + if (!arpresolve(ac, rt, m, dst, edst, rt0)) return (0); /* if not yet resolved */ /* If broadcasting on a simplex interface, loopback a copy */ if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX)) |