From: Vsevolod Stakhov Date: Sat, 27 Aug 2016 13:35:15 +0000 (+0100) Subject: [Minor] Fix parsing of 'nxdomain' rcode X-Git-Tag: 1.4.0~543 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0522a15042bb89f8639566647a9791537c3b613;p=thirdparty%2Frspamd.git [Minor] Fix parsing of 'nxdomain' rcode --- diff --git a/contrib/librdns/util.c b/contrib/librdns/util.c index 0f701f1bd9..4a44fe0d71 100644 --- a/contrib/librdns/util.c +++ b/contrib/librdns/util.c @@ -302,6 +302,9 @@ rdns_rcode_fromstr (const char *str) else if (strcmp (str, "servfail") == 0) { return RDNS_RC_SERVFAIL; } + else if (strcmp (str, "nxdomain") == 0) { + return RDNS_RC_NXDOMAIN; + } else if (strcmp (str, "notimp") == 0) { return RDNS_RC_NOTIMP; }