From: Jennifer Richards Date: Tue, 24 Apr 2018 21:21:43 +0000 (-0400) Subject: Add missing %.*s so debug message includes GSS name X-Git-Tag: 3.4.0~1^2~37^2~2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=f1c739d16232445c20889ebdab9058afd7ef3d6d Add missing %.*s so debug message includes GSS name --- diff --git a/tr/tr_tid.c b/tr/tr_tid.c index 2225d63..038cc3c 100644 --- a/tr/tr_tid.c +++ b/tr/tr_tid.c @@ -412,7 +412,8 @@ static int tr_tids_req_handler(TIDS_INSTANCE *tids, /* We get here whether or not a filter matched. If tr_filter_apply() doesn't match, it returns * a default action of reject, so we don't have to check why we exited the loop. */ if (oaction != TR_FILTER_ACTION_ACCEPT) { - tr_notice("tr_tids_req_handler: Incoming TID request rejected by filter for GSS name", orig_req->rp_realm->buf); + tr_notice("tr_tids_req_handler: Incoming TID request rejected by RP client filter for GSS name %.*s", + tids->gss_name->len, tids->gss_name->buf); tid_resp_set_err_msg(resp, tr_new_name("Incoming TID request filter error")); retval = -1; goto cleanup;