Subject: kern/18163: ipv6 deprecated address bit cannot be set manually in current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lannet@ixgate.org>
List: netbsd-bugs
Date: 09/04/2002 15:58:30
>Number:         18163
>Category:       kern
>Synopsis:       ipv6 deprecated address bit cannot be set manually in current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 03 23:59:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Takahiro Hayashi
>Release:        NetBSD 1.6G (current on 8/29/2002)
>Organization:
>Environment:

System: NetBSD fork.ixgate.org 1.6G NetBSD 1.6G (FORK) #89: Thu Aug 29 22:57:16 JST 2002 root@fork.ixgate.org:/exp/sources/src/sys/arch/i386/compile/FORK i386
Architecture: i386
Machine: i386
>Description:
 IPv6 'deprecated' flag cannot be set on current.
 When I try to set the address 'deprecated' on 1.6G, the ifconfig doesn't
 say any errors but it shows that the flag is not set.

 In addition the 1.5.3's ifconfig(8) does not support 'deprecated' modifier,
 though I noticed that the kernel does and it can be set by using 1.6's
 ifconfig. That is, 1.6's ifconfig works normally.

 I've checked if the 'deprecated' flag can be set on some versions of
 NetBSD kernels and ifconfigs. The result is:

 kernel  |   ifconfig version    |
 version |1.6_RC1| 1.6B  | 1.6G  |
 --------+-------+-------+-------+
 1.5.3   |  OK   |  OK   |  OK   |
 1.6_RC1 |  OK   |  OK   |  OK   |
 1.6B    |  NG   |  NG   |  NG   |
 1.6G    |  NG   |  NG   |  NG   |

 Note: 1.6B is the current on 6/29/2002.

>How-To-Repeat:
	on NetBSD-current,
	ifconfig fxp0 inet6 3ffe:501:ffff::1 deprecated
	ifconfig fxp0
>Fix:
	I don't know.
	The recent changes in main trunk is something wrong, I guess.

>Release-Note:
>Audit-Trail:
>Unformatted: