From: Alan T. DeKok Date: Fri, 10 Jul 2020 14:12:04 +0000 (-0400) Subject: use names from dictionary attributes instead of hard-coded names X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba3dd122237f411ec9cd0c29e1dca4a366f4dc9;p=thirdparty%2Ffreeradius-server.git use names from dictionary attributes instead of hard-coded names --- diff --git a/src/modules/rlm_sqlippool/rlm_sqlippool.c b/src/modules/rlm_sqlippool/rlm_sqlippool.c index 393acc5c08a..ce9b49aaecb 100644 --- a/src/modules/rlm_sqlippool/rlm_sqlippool.c +++ b/src/modules/rlm_sqlippool/rlm_sqlippool.c @@ -494,13 +494,13 @@ static rlm_rcode_t CC_HINT(nonnull) mod_post_auth(module_ctx_t const *mctx, REQU * If there is a Framed-IP-Address attribute in the reply do nothing */ if (fr_pair_find_by_da(request->reply->vps, inst->framed_ip_address, TAG_ANY) != NULL) { - RDEBUG2("Framed-IP-Address already exists"); + RDEBUG2("%s already exists", inst->framed_ip_address->name); return do_logging(inst, request, inst->log_exists, RLM_MODULE_NOOP); } if (fr_pair_find_by_da(request->control, attr_pool_name, TAG_ANY) == NULL) { - RDEBUG2("No Pool-Name defined"); + RDEBUG2("No %s defined", attr_pool_name->name); return do_logging(inst, request, inst->log_nopool, RLM_MODULE_NOOP); }