bin/102701: 'ifconfig xx0 inet6 delete' always fails

George Mitchell george at m5p.com
Wed Aug 30 19:10:27 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list