Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Make this compile again:



details:   https://anonhg.NetBSD.org/src/rev/0f77ce70058e
branches:  trunk
changeset: 479747:0f77ce70058e
user:      frueauf <frueauf%NetBSD.org@localhost>
date:      Mon Dec 20 20:27:14 1999 +0000

description:
Make this compile again:
NEWIP6OUTPUT gets no longer defined, revers logic to use OLDIP6OUTPUT.

diffstat:

 sys/net/if_arcsubr.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r 84e296fb3c36 -r 0f77ce70058e sys/net/if_arcsubr.c
--- a/sys/net/if_arcsubr.c      Mon Dec 20 19:31:47 1999 +0000
+++ b/sys/net/if_arcsubr.c      Mon Dec 20 20:27:14 1999 +0000
@@ -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
@@ -233,13 +233,13 @@
 #endif
 #ifdef INET6
        case AF_INET6:
-#ifdef NEWIP6OUTPUT
+#ifdef OLDIP6OUTPUT
+               if (!nd6_resolve(ifp, rt, m, dst, (u_char *)&adst))
+                       return(0);      /* if not yet resolves */
+#else
                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))
-                       return(0);      /* if not yet resolves */
-#endif /* NEWIP6OUTPUT */
+#endif /* OLDIP6OUTPUT */
                atype = htons(ARCTYPE_INET6);
                newencoding = 1;
                break;



Home | Main Index | Thread Index | Old Index