From: Francis Dupont Date: Wed, 27 Feb 2008 09:12:04 +0000 (+0000) Subject: fix nits X-Git-Tag: v4_1_0a2~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=843ae4c595d7aaddd531809923ba5405d122e5d9;p=thirdparty%2Fdhcp.git fix nits --- diff --git a/server/dhcpleasequery.c b/server/dhcpleasequery.c index dad45182d..0c4174a6b 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;