summaryrefslogtreecommitdiff
path: root/server/dhcpleasequery.c
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 /server/dhcpleasequery.c
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 'server/dhcpleasequery.c')
-rw-r--r--server/dhcpleasequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/dhcpleasequery.c b/server/dhcpleasequery.c
index 09913c24..848611b9 100644
--- a/server/dhcpleasequery.c
+++ b/server/dhcpleasequery.c
@@ -616,7 +616,7 @@ dhcpleasequery(struct packet *packet, int ms_nulltp) {
/*
* Figure out which address to use to send from.
*/
- get_server_source_address(&siaddr, options, packet);
+ get_server_source_address(&siaddr, options, options, packet);
/*
* Set up the option buffer.