summaryrefslogtreecommitdiff
blob: 7b9578c40c870647b345ca982b5842a870343bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Solves the issue reported in Problem Report bin/102701.

Can't delete an inet6 alias address from an interface.

Index: fbsd-6.1/sbin/ifconfig/af_inet6.c
===================================================================
--- fbsd-6.1.orig/sbin/ifconfig/af_inet6.c
+++ fbsd-6.1/sbin/ifconfig/af_inet6.c
@@ -515,7 +515,7 @@ static struct afswtch af_inet6 = {
 	.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,
 };