clearifications in icmp6 node query support.

XXX previous commit included "supported qtypes" icmp6 node query support.
sorry commit message was mistaken.
This commit is contained in:
itojun 2000-08-03 16:30:37 +00:00
parent e8b09532bb
commit 5e868d1e49
2 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/* $NetBSD: icmp6.h,v 1.12 2000/08/03 14:31:04 itojun Exp $ */
/* $KAME: icmp6.h,v 1.21 2000/08/03 14:22:09 itojun Exp $ */
/* $NetBSD: icmp6.h,v 1.13 2000/08/03 16:30:37 itojun Exp $ */
/* $KAME: icmp6.h,v 1.22 2000/08/03 15:25:16 jinmei Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -320,7 +320,8 @@ struct icmp6_nodeinfo {
#define NI_QTYPE_NOOP 0 /* NOOP */
#define NI_QTYPE_SUPTYPES 1 /* Supported Qtypes */
#define NI_QTYPE_FQDN 2 /* FQDN */
#define NI_QTYPE_FQDN 2 /* FQDN (draft 04) */
#define NI_QTYPE_DNSNAME 2 /* DNS Name */
#define NI_QTYPE_NODEADDR 3 /* Node Addresses */
#define NI_QTYPE_IPV4ADDR 4 /* IPv4 Addresses */

View File

@ -1,5 +1,5 @@
/* $NetBSD: icmp6.c,v 1.40 2000/08/03 14:31:05 itojun Exp $ */
/* $KAME: icmp6.c,v 1.130 2000/08/03 14:22:10 itojun Exp $ */
/* $NetBSD: icmp6.c,v 1.41 2000/08/03 16:30:38 itojun Exp $ */
/* $KAME: icmp6.c,v 1.131 2000/08/03 15:24:34 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -1285,7 +1285,7 @@ ni6_input(m, off)
nni6->ni_code = ICMP6_NI_SUCCESS;
nni6->ni_flags = htons(0x0000); /* raw bitmap */
/* supports NOOP, SUPTYPES, FQDN, and NODEADDR */
*(u_int32_t *)(nni6 + 1) = htonl(0x000f);
*(u_int32_t *)(nni6 + 1) = htonl(0x0000000f);
break;
case NI_QTYPE_FQDN:
nni6->ni_code = ICMP6_NI_SUCCESS;