fix truncated response handling; sync with kame
This commit is contained in:
parent
ff0a9e9ed1
commit
b91818e7e8
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ping6.c,v 1.19 2000/10/07 06:36:50 itojun Exp $ */
|
/* $NetBSD: ping6.c,v 1.20 2000/10/08 00:26:38 itojun Exp $ */
|
||||||
/* $KAME: ping6.c,v 1.91 2000/10/07 06:23:06 itojun Exp $ */
|
/* $KAME: ping6.c,v 1.91 2000/10/07 06:23:06 itojun Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -81,7 +81,7 @@ static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93";
|
||||||
#else
|
#else
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
__RCSID("$NetBSD: ping6.c,v 1.19 2000/10/07 06:36:50 itojun Exp $");
|
__RCSID("$NetBSD: ping6.c,v 1.20 2000/10/08 00:26:38 itojun Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1656,7 +1656,7 @@ pr_nodeaddr(ni, nilen)
|
||||||
(void)printf("unknown qtype");
|
(void)printf("unknown qtype");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (ni->ni_flags & NI_NODEADDR_FLAG_ALL)
|
if (ni->ni_flags & NI_NODEADDR_FLAG_TRUNCATE)
|
||||||
(void)printf(" truncated");
|
(void)printf(" truncated");
|
||||||
}
|
}
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
|
|
Loading…
Reference in New Issue