diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-25 17:06:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-25 17:06:34 +0100 |
commit | 6d7fce2c1465069b1300c45598fe7a0ae7ccebd4 (patch) | |
tree | f137b881436998dc703fc3dd7f4844a5cd5dccd5 /src/libserver/monitored.c | |
parent | 811515900708920ba2ceddb078bb4d46181e05a5 (diff) | |
download | rspamd-6d7fce2c1465069b1300c45598fe7a0ae7ccebd4.tar.gz rspamd-6d7fce2c1465069b1300c45598fe7a0ae7ccebd4.zip |
[Minor] Log the exact address queried on monitored errors
Diffstat (limited to 'src/libserver/monitored.c')
-rw-r--r-- | src/libserver/monitored.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c index 08fec9e20..ddef9ffe3 100644 --- a/src/libserver/monitored.c +++ b/src/libserver/monitored.c @@ -321,11 +321,12 @@ rspamd_monitored_dns_cb (struct rdns_reply *reply, void *arg) } else { msg_notice_mon ("DNS reply returned '%s' for %s while '%s' " - "was expected " + "was expected when querying for '%s'" "(likely DNS spoofing or BL internal issues)", rdns_strerror (reply->code), m->url, - rdns_strerror (conf->expected_code)); + rdns_strerror (conf->expected_code), + conf->request->str); } rspamd_monitored_propagate_error (m, "invalid return"); |