summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-05-08 08:57:00 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-05-08 08:57:00 +0000
commit4dd4a0a96536e0c2fa5cad5d65596a921efe4f04 (patch)
tree232fb4ee3332bf5d9bc1df288a3785eb2b7063cb /sbin/ifconfig
parent4d92d01454e3d3b9e428fc050a828c0378602d97 (diff)
Do not print MPSAFE when the corresponding bit is set on the interface
flags. This read-only flag is a hint for the network stack and does not matter for end user, in fact exposing it just creates confusion. ok kettenis@, deraadt@
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/brconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/brconfig.h b/sbin/ifconfig/brconfig.h
index 1d90006e012..b1eb195947d 100644
--- a/sbin/ifconfig/brconfig.h
+++ b/sbin/ifconfig/brconfig.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: brconfig.h,v 1.9 2016/01/07 15:33:56 mikeb Exp $ */
+/* $OpenBSD: brconfig.h,v 1.10 2016/05/08 08:56:59 mpi Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
@@ -68,7 +68,7 @@ int bridge_rule(int, char **, int);
#define IFFBITS \
"\024\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5POINTOPOINT\6NOTRAILERS" \
"\7RUNNING\10NOARP\11PROMISC\12ALLMULTI\13OACTIVE\14SIMPLEX" \
- "\15LINK0\16LINK1\17LINK2\20MULTICAST\21MPSAFE" \
+ "\15LINK0\16LINK1\17LINK2\20MULTICAST" \
"\23INET6_NOPRIVACY\24MPLS\25WOL\26AUTOCONF6"
void printb(char *, unsigned int, unsigned char *);