summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-04-05 15:22:45 +0200
committerLinus Nordberg <linus@nordu.net>2011-04-05 15:22:45 +0200
commitb23fcde92676758bb0447b1dad828fcacbbe0fd0 (patch)
treeed8990a8669881c44bd76699e00c85b08a63c828
parent480942e6cfcea8fd5f25c66d772186ba458a4fc7 (diff)
Add test lost in 480942e6 back.
-rw-r--r--radsecproxy.c3
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);