aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2025-09-22 04:45:48 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2025-09-22 04:51:03 +0000
commit0143af8499cacfe5787ad3902a714bbdab4c8b28 (patch)
tree5783e67eda3fb9876214760aac345ba0aefe875a
parent52c4b76d1dd385fbe33b78172e39a10749b83d13 (diff)
Revert "ifconfig: Display the IFCAP_NV capability without netlink"
The display of IFCAP_NV is handled by SIOCGIFCAPNV ioctl. The kernel composes a nvlist of capabilities and the userland unpack them and display. So this "NV" in IFCAPBITS is meaningless but rather misleading. This reverts commit 0c1684dd456e3df306b359b04e61f9f2048d9ff2.
-rw-r--r--sbin/ifconfig/ifconfig.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index d4c8cbd29d18..9aeb4a09ef49 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1658,7 +1658,6 @@ static const char *IFCAPBITS[] = {
[14] = "TOE4",
[15] = "TOE6",
[16] = "VLAN_HWFILTER",
- [17] = "NV",
[18] = "VLAN_HWTSO",
[19] = "LINKSTATE",
[20] = "NETMAP",