Make this compile again:
NEWIP6OUTPUT gets no longer defined, revers logic to use OLDIP6OUTPUT.
This commit is contained in:
parent
299c3534d3
commit
176df8913d
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: if_arcsubr.c,v 1.28 1999/09/25 17:49:28 is Exp $ */
|
/* $NetBSD: if_arcsubr.c,v 1.29 1999/12/20 20:27:14 frueauf Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 1995 Ignatios Souvatzis
|
* Copyright (c) 1994, 1995 Ignatios Souvatzis
|
||||||
@ -233,13 +233,13 @@ arc_output(ifp, m0, dst, rt0)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef INET6
|
#ifdef INET6
|
||||||
case AF_INET6:
|
case AF_INET6:
|
||||||
#ifdef NEWIP6OUTPUT
|
#ifdef OLDIP6OUTPUT
|
||||||
if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)&adst))
|
|
||||||
return(0); /* it must be impossible, but... */
|
|
||||||
#else
|
|
||||||
if (!nd6_resolve(ifp, rt, m, dst, (u_char *)&adst))
|
if (!nd6_resolve(ifp, rt, m, dst, (u_char *)&adst))
|
||||||
return(0); /* if not yet resolves */
|
return(0); /* if not yet resolves */
|
||||||
#endif /* NEWIP6OUTPUT */
|
#else
|
||||||
|
if (!nd6_storelladdr(ifp, rt, m, dst, (u_char *)&adst))
|
||||||
|
return(0); /* it must be impossible, but... */
|
||||||
|
#endif /* OLDIP6OUTPUT */
|
||||||
atype = htons(ARCTYPE_INET6);
|
atype = htons(ARCTYPE_INET6);
|
||||||
newencoding = 1;
|
newencoding = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user