summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Derigs <dl6er@dl6er.de>2021-12-18 10:08:01 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2022-01-11 22:16:48 +0000
commita6c0edd4f4c16fecc20b2fefdf5cd8849ab420fb (patch)
treed0a4f44396627fd33663b0f5a07420c10423fd3f
parentff43d35aeef6178f7471c6f37e91845c9a72bd2f (diff)
downloaddnsmasq-a6c0edd4f4c16fecc20b2fefdf5cd8849ab420fb.tar.gz
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>
-rw-r--r--src/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index 90052a0..ae60966 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1757,7 +1757,8 @@ void dump_cache(time_t now)
{
struct crec *cache ;
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 (cache = hash_table[i]; cache; cache = cache->hash_next)