Fix header of cache dump. The width of the host and address fields are 30 and 40 characters, respectively.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
Dominik Derigs
2021-12-18 10:08:01 +01:00
committed by Simon Kelley
parent ff43d35aee
commit a6c0edd4f4

View File

@@ -1757,7 +1757,8 @@ void dump_cache(time_t now)
{ {
struct crec *cache ; struct crec *cache ;
int i; int i;
my_syslog(LOG_INFO, "Host Address Flags Expires"); my_syslog(LOG_INFO, "Host Address Flags Expires");
my_syslog(LOG_INFO, "------------------------------ ---------------------------------------- --------- ------------------------");
for (i=0; i<hash_size; i++) for (i=0; i<hash_size; i++)
for (cache = hash_table[i]; cache; cache = cache->hash_next) for (cache = hash_table[i]; cache; cache = cache->hash_next)