whoops, forgot to fix these places where arpresolve() was used

Detected by: tinderbox
This commit is contained in:
Luigi Rizzo 2004-04-04 11:52:09 +00:00
parent 4fb9e805dc
commit 7395ff5cff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127836
3 changed files with 3 additions and 3 deletions

View File

@ -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) ?

View File

@ -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;

View File

@ -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;