diff options
-rw-r--r-- | radsecproxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 5543bfa..02e4b70 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1667,7 +1667,8 @@ void replyh(struct server *server, unsigned char *buf) { } if (msg->code == RAD_Access_Accept || msg->code == RAD_Access_Reject) - fticks_log(&options, from, msg, rqout); + if (options.fticks_reporting && from->conf->fticks_viscountry != NULL) + fticks_log(&options, from, msg, rqout); msg->id = (char)rqout->rq->rqid; memcpy(msg->auth, rqout->rq->rqauth, 16); |