aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2011-06-14 12:40:55 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2011-06-14 12:40:55 +0000
commitc9d658e9f7ea84b09d07d805589de6f7e9b0fc59 (patch)
treeef24786b9c0735bbc971d812fe27716b0a1132dc /sbin
parent81a654646e9e9f6052730504dfee28be8532c94e (diff)
downloadsrc-c9d658e9f7ea84b09d07d805589de6f7e9b0fc59.tar.gz
src-c9d658e9f7ea84b09d07d805589de6f7e9b0fc59.zip
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).
Notes
Notes: svn path=/head/; revision=223078
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 2963b9f092df..408d77eaa226 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