Deleted Added
full compact
33c33
< * $FreeBSD: head/sys/net/if_iso88025subr.c 128615 2004-04-24 21:59:41Z luigi $
---
> * $FreeBSD: head/sys/net/if_iso88025subr.c 128636 2004-04-25 09:24:52Z luigi $
261a262,263
> /* Calculate routing info length based on arp table entry */
> /* XXX any better way to do this ? */
266d267
< /* Calculate routing info length based on arp table entry */
289,290c290,292
< if (!arpresolve(ifp, rt, m, dst, edst))
< return (0); /* if not yet resolved */
---
> error = arpresolve(ifp, rt0, m, dst, edst);
> if (error)
> return (error == EWOULDBLOCK ? 0 : error);
323,326c325,327
< if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)edst)) {
< /* Something bad happened */
< return(0);
< }
---
> error = nd6_storelladdr(ifp, rt0, m, dst, (u_char *)edst);
> if (error)
> return (error);