[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user/3715: Strange message when deleting an inet6 address
- To: bugs_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: Re: user/3715: Strange message when deleting an inet6 address
- From: Dheeraj S <dheerajs_(_at_)_comcast_(_dot_)_net>
- Date: Mon, 15 Mar 2004 12:35:01 -0700 (MST)
- Cc:
- Reply-to: Dheeraj S <dheerajs_(_at_)_comcast_(_dot_)_net>
The following reply was made to PR user/3715; it has been noted by GNATS.
From: Dheeraj S <dheerajs_(_at_)_comcast_(_dot_)_net>
To: gnats_(_at_)_openbsd_(_dot_)_org
Cc:
Subject: Re: user/3715: Strange message when deleting an inet6 address
Date: Mon, 15 Mar 2004 14:07:41 -0500
On Mon, Mar 15, 2004 at 07:03:22PM +0000, dheerajs_(_at_)_comcast_(_dot_)_net wrote:
> >Number: 3715
> >Category: user
> >Synopsis: When deleting an inet6 address a misleading error message is
> >Confidential: yes
> >Severity: non-critical
> >Priority: low
> >Responsible: bugs
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Mon Mar 15 18:40:01 GMT 2004
> >Closed-Date:
> >Last-Modified:
> >Originator: Dheeraj Reddy
> >Release: 3.5
> >Organization:
> net
> >Environment:
> System : OpenBSD 3.5
> Architecture: OpenBSD.i386
> Machine : i386
> >Description:
>
> Deleting an inet6 address on a interface prints an error message, although the
> operation succeeds.
>
> # ifconfig rl0
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> address: 00:05:5d:43:61:9d
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
> inet6 fe80::205:5dff:fe43:619d%rl0 prefixlen 64 scopeid 0x2
> inet6 2001:470:1f00:1163:: prefixlen 64 anycast
> inet6 2001:470:1f00:1163:0:5:5d43:619d prefixlen 64
> # ifconfig rl0 inet6 delete 2001:470:1f00:1163:0:5:5d43:619d prefixlen 64
> ifconfig: SIOCAIFADDR: Address family not supported by protocol family
> # ifconfig rl0
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> address: 00:05:5d:43:61:9d
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
> inet6 fe80::205:5dff:fe43:619d%rl0 prefixlen 64 scopeid 0x2
> inet6 2001:470:1f00:1163:: prefixlen 64 anycast
>
> >How-To-Repeat:
> Delete an inet6 address on an interface.
> >Fix:
> I could not locate the problem (if it is one) but it does not affect
> functionality as the address is actually deleted
>
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> reported
>
My bad. I read the manpage wrongly but shouldn't it disallow wrong usage
instead of printing a message and doing the 'apparently intended' task.
dheeraj
Visit your host, monkey.org