git: 6e00a34c7613 - stable/15 - ifconfig: also fix removing IPv6 addresses without netlink

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 17 Sep 2025 08:08:49 UTC
The branch stable/15 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6e00a34c7613e02994e1caf4539e7c8f76992b95

commit 6e00a34c7613e02994e1caf4539e7c8f76992b95
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-09-10 14:55:56 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-09-17 08:08:16 +0000

    ifconfig: also fix removing IPv6 addresses without netlink
    
    Reported by:    bdrewery
    MFC after:      1 week
    See also:       da50f49977cc4e6aae55cb2379313599249a8dd2
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit c8fb5a4d032b28dd97b9fa4a73f85a84d8d35fdd)
---
 sbin/ifconfig/af_inet6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ifconfig/af_inet6.c b/sbin/ifconfig/af_inet6.c
index 7986edf490b4..e0f34f0c4d82 100644
--- a/sbin/ifconfig/af_inet6.c
+++ b/sbin/ifconfig/af_inet6.c
@@ -753,7 +753,7 @@ static struct afswtch af_inet6 = {
 #ifdef WITHOUT_NETLINK
 	.af_difaddr	= SIOCDIFADDR_IN6,
 	.af_aifaddr	= SIOCAIFADDR_IN6,
-	.af_ridreq	= &in6_addreq,
+	.af_ridreq	= &in6_ridreq,
 	.af_addreq	= &in6_addreq,
 	.af_exec	= af_exec_ioctl,
 #else