summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2011-06-14 12:40:55 +0000
committerluigi <luigi@FreeBSD.org>2011-06-14 12:40:55 +0000
commit7cd78b912e49a7054d596bcc33452dd4e104da5a (patch)
treeef24786b9c0735bbc971d812fe27716b0a1132dc /sbin
parent1717f18181654d5b073cff9521c0b635459cfe39 (diff)
downloadFreeBSD-src-7cd78b912e49a7054d596bcc33452dd4e104da5a.zip
FreeBSD-src-7cd78b912e49a7054d596bcc33452dd4e104da5a.tar.gz
Grab one of the ifcap bits for netmap, and enable printing in ifconfig.
Document the fact that we might want an IFCAP_CANTCHANGE mask, even though the value is not yet used in sys/net/if.c (asked on -current a week ago, no feedback so i assume no objection).
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 2963b9f..408d77e 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -908,7 +908,7 @@ unsetifdescr(const char *val, int value, int s, const struct afswtch *afp)
#define IFCAPBITS \
"\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING" \
"\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC" \
-"\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE"
+"\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE\25NETMAP"
/*
* Print the status of the interface. If an address family was
OpenPOWER on IntegriCloud