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 0c1684dd45.
This commit is contained in:
Zhenlei Huang 2025-09-22 12:45:48 +08:00
parent 52c4b76d1d
commit 0143af8499

View file

@ -1658,7 +1658,6 @@ static const char *IFCAPBITS[] = {
[14] = "TOE4",
[15] = "TOE6",
[16] = "VLAN_HWFILTER",
[17] = "NV",
[18] = "VLAN_HWTSO",
[19] = "LINKSTATE",
[20] = "NETMAP",