summaryrefslogtreecommitdiff
path: root/includes/dhcpd.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-11-16 15:02:13 -0800
committerShawn Routhier <sar@isc.org>2012-11-16 15:02:13 -0800
commitf8380d3ff2a1db349b05fec75d2e12ac1a0b9c89 (patch)
tree7a6262f5df71ea128984441bf2ad1827677d8caa /includes/dhcpd.h
parent3aa562f8ad63d047eaafb01968730a6effb2d952 (diff)
downloadisc-dhcp-f8380d3ff2a1db349b05fec75d2e12ac1a0b9c89.tar.gz
[master]
+- Add support for a simple check that the server id in a request message + to a failover peer matches the server id of the server. This support + is enabled by editing the file includes/site.h and uncommenting the + definition for SERVER_ID_CHECK. The option has several restrictions + and issues - please read the comment in the site.h file before + enabling it. + [ISC-Bugs #31463]
Diffstat (limited to 'includes/dhcpd.h')
-rw-r--r--includes/dhcpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
index 9945df04..3d513dda 100644
--- a/includes/dhcpd.h
+++ b/includes/dhcpd.h
@@ -2163,7 +2163,11 @@ unsigned cons_agent_information_options (struct option_state *,
unsigned, unsigned);
void get_server_source_address(struct in_addr *from,
struct option_state *options,
+ struct option_state *out_options,
struct packet *packet);
+void setup_server_source_address(struct in_addr *from,
+ struct option_state *options,
+ struct packet *packet);
/* dhcpleasequery.c */
void dhcpleasequery (struct packet *, int);