Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 add comment on sdl_alen check (sync with kame)



details:   https://anonhg.NetBSD.org/src/rev/9e8f53fa5e0e
branches:  trunk
changeset: 484858:9e8f53fa5e0e
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Apr 13 16:27:00 2000 +0000

description:
add comment on sdl_alen check (sync with kame)

diffstat:

 sys/netinet6/nd6.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 5028cbfbd6dd -r 9e8f53fa5e0e sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Thu Apr 13 16:21:25 2000 +0000
+++ b/sys/netinet6/nd6.c        Thu Apr 13 16:27:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.c,v 1.23 2000/04/13 14:32:53 itojun Exp $  */
+/*     $NetBSD: nd6.c,v 1.24 2000/04/13 16:27:00 itojun Exp $  */
 /*     $KAME: nd6.c,v 1.41 2000/02/24 16:34:50 itojun Exp $    */
 
 /*
@@ -1867,6 +1867,7 @@
        }
        sdl = SDL(rt->rt_gateway);
        if (sdl->sdl_alen == 0) {
+               /* this should be impossible, but we bark here for debugging */
                printf("nd6_storelladdr: sdl_alen == 0\n");
                return(0);
        }



Home | Main Index | Thread Index | Old Index