summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/dhcpd.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-04-19 12:22:09 +0000
committerclaudio <claudio@openbsd.org>2010-04-19 12:22:09 +0000
commitdaa83f4c4af9dec57085413dfa6a6755aed9dd9d (patch)
tree1e6814bda4efc7e4413870c5e1053f1346aec81e /usr.sbin/dhcpd/dhcpd.h
parentmove the stupid throwing away of ata_xfers out the run of the first scsi (diff)
downloadwireguard-openbsd-daa83f4c4af9dec57085413dfa6a6755aed9dd9d.tar.xz
wireguard-openbsd-daa83f4c4af9dec57085413dfa6a6755aed9dd9d.zip
If interfaces are specified, get their rdomain and bind dhcpd into the same
domain with setrdomain(). This allows to run dhcpd on multiple rdomains. OK krw@
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.h')
-rw-r--r--usr.sbin/dhcpd/dhcpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.h b/usr.sbin/dhcpd/dhcpd.h
index 2614f73e245..075d8222ad0 100644
--- a/usr.sbin/dhcpd/dhcpd.h
+++ b/usr.sbin/dhcpd/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.44 2010/01/02 04:21:16 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.45 2010/04/19 12:22:09 claudio Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998, 1999
@@ -625,7 +625,7 @@ extern struct protocol *protocols;
extern void (*bootp_packet_handler)(struct interface_info *,
struct dhcp_packet *, int, unsigned int, struct iaddr, struct hardware *);
extern struct dhcpd_timeout *timeouts;
-void discover_interfaces(void);
+void discover_interfaces(int *);
void dispatch(void);
int locate_network(struct packet *);
void got_one(struct protocol *);