summaryrefslogtreecommitdiffstats
path: root/src/libserver/dns.c
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-10 13:07:53 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-10 13:07:53 +0100
commit4d471ea9ce1d23e33310ac887fe8a96d345aa8c6 (patch)
treea114246b1b3c6e017da6018ac93894b99406f46a /src/libserver/dns.c
parentcec578734c7ff3d9aa80dcd0c8df958a6099ac71 (diff)
downloadrspamd-4d471ea9ce1d23e33310ac887fe8a96d345aa8c6.tar.gz
rspamd-4d471ea9ce1d23e33310ac887fe8a96d345aa8c6.zip
[Minor] str_from_rdns_type -> rdns_str_from_type to keep consistency
Diffstat (limited to 'src/libserver/dns.c')
-rw-r--r--src/libserver/dns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c
index 887cbffdf..b150f5581 100644
--- a/src/libserver/dns.c
+++ b/src/libserver/dns.c
@@ -440,7 +440,7 @@ rspamd_dns_resolver_config_ucl (struct rspamd_config *cfg,
default:
msg_err_config ("invalid or unsupported reply element "
"for fake DNS record %s(%s): %s",
- name, str_from_rdns_type (rtype), str_rep);
+ name, rdns_str_from_type (rtype), str_rep);
free (rep);
break;
}
@@ -449,7 +449,7 @@ rspamd_dns_resolver_config_ucl (struct rspamd_config *cfg,
ucl_object_iterate_free (rep_it);
if (replies) {
- msg_info_config ("added fake record: %s(%s)", name, str_from_rdns_type (rtype));
+ msg_info_config ("added fake record: %s(%s)", name, rdns_str_from_type (rtype));
rdns_resolver_set_fake_reply (dns_resolver->r,
name, rtype, rcode, replies);
}
@@ -464,7 +464,7 @@ rspamd_dns_resolver_config_ucl (struct rspamd_config *cfg,
if (replies_obj) {
msg_warn_config ("replies are set for non-successful return "
- "code for %s(%s), they will be ignored", name, str_from_rdns_type (rtype));
+ "code for %s(%s), they will be ignored", name, rdns_str_from_type (rtype));
}
rdns_resolver_set_fake_reply (dns_resolver->r,