summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/udpsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcpd/udpsock.c')
-rw-r--r--usr.sbin/dhcpd/udpsock.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/dhcpd/udpsock.c b/usr.sbin/dhcpd/udpsock.c
index 61602292e7f..2c4c0503218 100644
--- a/usr.sbin/dhcpd/udpsock.c
+++ b/usr.sbin/dhcpd/udpsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udpsock.c,v 1.6 2016/04/04 14:00:42 mestre Exp $ */
+/* $OpenBSD: udpsock.c,v 1.7 2016/04/27 10:16:10 mestre Exp $ */
/*
* Copyright (c) 2014 YASUOKA Masahiko <yasuoka@openbsd.org>
@@ -65,9 +65,6 @@ udpsock_startup(struct in_addr bindaddr)
error("setsocketopt IP_RECVIF failed for udp: %s",
strerror(errno));
- if (pledge("stdio rpath inet route sendfd proc id", NULL) == -1)
- error("pledge: %s", strerror(errno));
-
sin4.sin_family = AF_INET;
sin4.sin_len = sizeof(sin4);
sin4.sin_addr = bindaddr;