summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-07-13 21:23:40 +0000
committeryar <yar@FreeBSD.org>2005-07-13 21:23:40 +0000
commitfbc6f8c90bc866966059aaea49d9b5e8e06fcddb (patch)
treef0ff0befb00815aa00eee7c2b09aff9dda874d19 /sbin
parentf0792192c931353312260a429d1ecbf5d8e061ba (diff)
downloadFreeBSD-src-fbc6f8c90bc866966059aaea49d9b5e8e06fcddb.zip
FreeBSD-src-fbc6f8c90bc866966059aaea49d9b5e8e06fcddb.tar.gz
Add symbolic names for the IFF_PPROMISC and IFF_NEEDSGIANT flags
so that ifconfig(8) can print them. MFC after: 5 days
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 5c337b3..40e6787 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -809,7 +809,7 @@ rt_xaddrs(caddr_t cp, caddr_t cplim, struct rt_addrinfo *rtinfo)
#define IFFBITS \
"\020\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6SMART\7RUNNING" \
"\10NOARP\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX\15LINK0\16LINK1\17LINK2" \
-"\20MULTICAST\21POLLING\23MONITOR\24STATICARP"
+"\20MULTICAST\21POLLING\22PPROMISC\23MONITOR\24STATICARP\25NEEDSGIANT"
#define IFCAPBITS \
"\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING"
OpenPOWER on IntegriCloud