diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-04-13 16:27:27 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-04-13 16:27:27 +0000 |
commit | da91b51e97115cefa6151d66783c0c63cdda3092 (patch) | |
tree | 3140f32c3b203340f95cab145407690b608cfc4d | |
parent | b0ab051406efe27d71e4412414f1df9a0e34dbfc (diff) |
add comment on sanity check
-rw-r--r-- | sys/netinet6/nd6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index e1e60e61194..30f7120001a 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.c,v 1.9 2000/04/13 14:34:10 itojun Exp $ */ +/* $OpenBSD: nd6.c,v 1.10 2000/04/13 16:27:26 itojun Exp $ */ /* $KAME: nd6.c,v 1.41 2000/02/24 16:34:50 itojun Exp $ */ /* @@ -1859,6 +1859,7 @@ nd6_storelladdr(ifp, rt, m, dst, desten) } 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); } |