From 7395ff5cffa7e8d9df291d3c97d9b995ed42cdfb Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sun, 4 Apr 2004 11:52:09 +0000 Subject: [PATCH] whoops, forgot to fix these places where arpresolve() was used Detected by: tinderbox --- sys/net/if_arcsubr.c | 2 +- sys/net/if_fddisubr.c | 2 +- sys/net/if_iso88025subr.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c index 919c0de3ef3a..47d7b5c021a2 100644 --- a/sys/net/if_arcsubr.c +++ b/sys/net/if_arcsubr.c @@ -136,7 +136,7 @@ arc_output(ifp, m, dst, rt0) adst = arcbroadcastaddr; /* ARCnet broadcast address */ else if (ifp->if_flags & IFF_NOARP) adst = ntohl(SIN(dst)->sin_addr.s_addr) & 0xFF; - else if (!arpresolve(ifp, rt, m, dst, &adst, rt0)) + else if (!arpresolve(ifp, rt, m, dst, &adst)) return 0; /* not resolved yet */ atype = (ifp->if_flags & IFF_LINK0) ? diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c index c8abd63c9682..10032088447c 100644 --- a/sys/net/if_fddisubr.c +++ b/sys/net/if_fddisubr.c @@ -141,7 +141,7 @@ fddi_output(ifp, m, dst, rt0) switch (dst->sa_family) { #ifdef INET case AF_INET: { - if (!arpresolve(ifp, rt, m, dst, edst, rt0)) + if (!arpresolve(ifp, rt, m, dst, edst)) return (0); /* if not yet resolved */ type = htons(ETHERTYPE_IP); break; diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index e6d3d74a7905..7062632abe7f 100644 --- a/sys/net/if_iso88025subr.c +++ b/sys/net/if_iso88025subr.c @@ -288,7 +288,7 @@ iso88025_output(ifp, m, dst, rt0) switch (dst->sa_family) { #ifdef INET case AF_INET: - if (!arpresolve(ifp, rt, m, dst, edst, rt0)) + if (!arpresolve(ifp, rt, m, dst, edst)) return (0); /* if not yet resolved */ snap_type = ETHERTYPE_IP; break;