git: 5f472754ba6f - stable/15 - ifconfig: Fix the display of the IFCAP_MEXTPG capability without netlink

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Wed, 24 Sep 2025 13:30:28 UTC
The branch stable/15 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=5f472754ba6f9cc95607956c6e2ad6483c9dd157

commit 5f472754ba6f9cc95607956c6e2ad6483c9dd157
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-09-19 19:18:27 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2025-09-24 13:29:24 +0000

    ifconfig: Fix the display of the IFCAP_MEXTPG capability without netlink
    
    Historically this capability is IFCAP_NOMAP but it was renamed to
    IFCAP_MEXTPG. Catch up with the change 3f43ada98c89.
    
    PR:             289545
    Fixes:          3f43ada98c89 Catch up with 6edfd179c86: mechanically rename IFCAP_NOMAP to IFCAP_MEXTPG
    MFC after:      3 days
    
    (cherry picked from commit 5017fdb728811fd3e15d7151524378f49a49aee1)
---
 sbin/ifconfig/ifconfig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index c323a26ec1a8..41d2f4603983 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1665,7 +1665,7 @@ static const char *IFCAPBITS[] = {
 	[22] = "TXCSUM_IPV6",
 	[24] = "TXRTLMT",
 	[25] = "HWRXTSTMP",
-	[26] = "NOMAP",
+	[26] = "MEXTPG",
 	[27] = "TXTLS4",
 	[28] = "TXTLS6",
 	[29] = "VXLAN_HWCSUM",