git: 5017fdb72881 - main - ifconfig: Fix the display of the IFCAP_MEXTPG capability without netlink

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Fri, 19 Sep 2025 19:19:32 UTC
The branch main has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=5017fdb728811fd3e15d7151524378f49a49aee1

commit 5017fdb728811fd3e15d7151524378f49a49aee1
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-09-19 19:18:27 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2025-09-19 19:18:27 +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
---
 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",