From: itojun Date: Thu, 13 Apr 2000 16:27:26 +0000 (+0000) Subject: add comment on sanity check X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bd2806bc02fbaf119b5775a68850a3e8db34a8b2;p=openbsd add comment on sanity check --- 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); }