whoops, forgot to fix these places where arpresolve() was used
Detected by: tinderbox
This commit is contained in:
parent
5642b0bbf4
commit
3de845ed0a
@ -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) ?
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user