]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
fix nits
authorFrancis Dupont <fdupont@isc.org>
Wed, 27 Feb 2008 09:12:04 +0000 (09:12 +0000)
committerFrancis Dupont <fdupont@isc.org>
Wed, 27 Feb 2008 09:12:04 +0000 (09:12 +0000)
server/dhcpleasequery.c

index dad45182d2f62fd1ef21cc23bc6f7f5dfbbd4476..0c4174a6ba4cb026427933b13c663c5e4d85e118 100644 (file)
@@ -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;