summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-08-12 16:31:10 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-08-12 16:31:10 +0000
commitb3799b7189d6a519575bc34425bb0a8bee310567 (patch)
treec66bd528a98b07902a0754c4ad1f12de444c810a /usr.sbin/bgpd
parent1404975235c71ddc8a8977e6bc6273d91b43786c (diff)
Make not yet implemented pledges more visible in grep output.
input benno, deraadt, tedu also standardize on #if 0 since it makes tedu's editor vomit. OK benno, pirofti on a previous version
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/bgpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 475c83ad696..4f8af4ef97f 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.190 2017/06/27 15:58:07 deraadt Exp $ */
+/* $OpenBSD: bgpd.c,v 1.191 2017/08/12 16:31:09 florian Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -241,7 +241,7 @@ main(int argc, char *argv[])
* disabled because we do ioctls on /dev/pf and SIOCSIFGATTR
* this needs some redesign of bgpd to be fixed.
*/
- if (pledge("stdio rpath wpath cpath fattr unix route recvfd sendfd",
+BROKEN if (pledge("stdio rpath wpath cpath fattr unix route recvfd sendfd",
NULL) == -1)
fatal("pledge");
#endif