sec-mod: use ctime() to print the ban list expiration time

This commit is contained in:
Nikos Mavrogiannopoulos
2015-01-28 13:04:02 +01:00
parent 5d3b2da2e1
commit 654cf12ac4
+1 -1
View File
@@ -108,7 +108,7 @@ void add_ip_to_ban_list(sec_mod_st *sec, const char *ip, time_t reenable_time)
goto fail;
}
seclog(sec, LOG_INFO,"added IP '%s' to ban list, will be removed at: %u", ip, (unsigned)reenable_time);
seclog(sec, LOG_INFO,"added IP '%s' to ban list, will be removed at: %s", ip, ctime(&reenable_time));
return;
fail:
talloc_free(e);