Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 12:10:14 -0700 (PDT)
From:      George Mitchell <george@m5p.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/102701: 'ifconfig xx0 inet6 delete' always fails
Message-ID:  <200608301910.k7UJAEBS041468@m5p.com>
Resent-Message-ID: <200608301910.k7UJAPK3039776@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         102701
>Category:       bin
>Synopsis:       'ifconfig xx0 inet6 delete' always fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 30 19:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     George Mitchell
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
Mitchell Voting Products, Inc.
>Environment:
System: FreeBSD parkstreet.m5p.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Can't delete an inet6 alias address from an interface
>How-To-Repeat:
	ifconfig re0 inet6 alias 2001:418:3fd::66
	ifconfig re0 inet6 delete 2001:418:3fd::66
	"ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address"
>Fix:

	Apply following patch, recompile, and install:



--- sbin/ifconfig/af_inet6.c.orig	Thu Jun 16 12:37:09 2005
+++ sbin/ifconfig/af_inet6.c	Wed Aug 30 12:00:29 2006
@@ -515,7 +515,7 @@
 	.af_settunnel	= in6_set_tunnel,
 	.af_difaddr	= SIOCDIFADDR_IN6,
 	.af_aifaddr	= SIOCAIFADDR_IN6,
-	.af_ridreq	= &in6_addreq,
+	.af_ridreq	= &in6_ridreq,
 	.af_addreq	= &in6_addreq,
 };
 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608301910.k7UJAEBS041468>