summaryrefslogtreecommitdiff
path: root/server/dhcpleasequery.c
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2008-02-27 09:12:04 +0000
committerFrancis Dupont <fdupont@isc.org>2008-02-27 09:12:04 +0000
commit843ae4c595d7aaddd531809923ba5405d122e5d9 (patch)
tree054b59d15769ee40a838006da56f853b2f6d69c8 /server/dhcpleasequery.c
parent37ec58458c44912228f91e9553a782b908bcbfa2 (diff)
downloadisc-dhcp-843ae4c595d7aaddd531809923ba5405d122e5d9.tar.gz
fix nits
Diffstat (limited to 'server/dhcpleasequery.c')
-rw-r--r--server/dhcpleasequery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/dhcpleasequery.c b/server/dhcpleasequery.c
index dad45182..0c4174a6 100644
--- a/server/dhcpleasequery.c
+++ b/server/dhcpleasequery.c
@@ -903,7 +903,7 @@ process_lq_by_address(struct lq6_state *lq) {
* or the ia-aadr when it is :: but in any case the ia-addr has
* to be on the link, so we ignore the link-address here.
*/
- if (find_ipv6_pool(&pool, &addr) != ISC_R_SUCCESS) {
+ if (find_ipv6_pool(&pool, 0, &addr) != ISC_R_SUCCESS) {
if (!set_error(lq, STATUS_NotConfigured,
"Address not in a pool.")) {
log_error("process_lq_by_address: unable "
@@ -1012,7 +1012,6 @@ process_lq_by_address(struct lq6_state *lq) {
void
dhcpv6_leasequery(struct data_string *reply_ret, struct packet *packet) {
static struct lq6_state lq;
- struct data_string server_duid;
struct option_cache *oc;
int allow_lq;