diff options
author | Wolfgang Breyha <wbreyha@gmx.net> | 2020-01-02 13:16:52 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-01-02 13:16:52 +0000 |
commit | f73eb7e30a8a55c3934a2e5e0d0d30cf8bf44c09 (patch) | |
tree | 3f697d14cbf0be56426186a0aebcfa3dd3fbeced /src | |
parent | 2b615f22d0ce78ba28a6d758d6a2a5c8cb33e10a (diff) |
SPF: handle DNS NO_DATA return. Bug 2499
Diffstat (limited to 'src')
-rw-r--r-- | src/src/spf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/spf.c b/src/src/spf.c index 1015d77ac..a8318dcda 100644 --- a/src/src/spf.c +++ b/src/src/spf.c @@ -77,6 +77,7 @@ switch (dns_rc = dns_lookup(dnsa, US domain, rr_type, NULL)) case DNS_SUCCEED: srr.herrno = NETDB_SUCCESS; break; case DNS_AGAIN: srr.herrno = TRY_AGAIN; break; case DNS_NOMATCH: srr.herrno = HOST_NOT_FOUND; break; + case DNS_NODATA: srr.herrno = NO_DATA; break; case DNS_FAIL: default: srr.herrno = NO_RECOVERY; break; } |