summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dhcpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-04-19 12:22:10 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-04-19 12:22:10 +0000
commitc5112d7897b7a8b6c502d01dae6bd9dda00da84a (patch)
tree5acafccfa401f6711681837b491aa29dd20e9991 /usr.sbin/dhcpd/dhcpd.h
parentc78894bd18254ceb895a2d7e8dff8d1c36ebd286 (diff)
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 *);