git: 44d7a8298eae - stable/14 - ifconfig: also fix removing IPv6 addresses without netlink
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Sep 2025 08:08:50 UTC
The branch stable/14 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=44d7a8298eaee9df45b786176d5d85a37e095c94
commit 44d7a8298eaee9df45b786176d5d85a37e095c94
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:33 +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 17dc068ee875..7aed391c7bf5 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