summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/dhcpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.c')
-rw-r--r--usr.sbin/dhcpd/dhcpd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.c b/usr.sbin/dhcpd/dhcpd.c
index 5ffc2155770..d137d0e39b7 100644
--- a/usr.sbin/dhcpd/dhcpd.c
+++ b/usr.sbin/dhcpd/dhcpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.c,v 1.50 2016/02/06 23:50:10 krw Exp $ */
+/* $OpenBSD: dhcpd.c,v 1.51 2016/04/27 10:16:10 mestre Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org>
@@ -240,12 +240,8 @@ main(int argc, char *argv[])
}
}
- if (udpsockmode) {
+ if (udpsockmode)
udpsock_startup(udpaddr);
- } else {
- if (pledge("stdio rpath inet sendfd proc id", NULL) == -1)
- err(1, "pledge");
- }
icmp_startup(1, lease_pinged);