From 680dda802393ef1513a8a84a353dfc2ecfacacb2 Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Sun, 27 Sep 2015 13:59:53 +0200 Subject: [PATCH] dns: remove nonexistant exports.ADNAME MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This error code export was mistakingly introduced in a 2012 commit which added more error codes. The correct export.BADNAME was added in https://github.com/nodejs/node/pull/3051. Semver: Major PR-URL: https://github.com/nodejs/node/pull/3051 Fixes: https://github.com/nodejs/node/issues/3050 Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Sakthipriyan Vairamani --- lib/dns.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dns.js b/lib/dns.js index e1a2c03385309d..bbbcec13ff97fb 100644 --- a/lib/dns.js +++ b/lib/dns.js @@ -330,7 +330,6 @@ exports.NOTFOUND = 'ENOTFOUND'; exports.NOTIMP = 'ENOTIMP'; exports.REFUSED = 'EREFUSED'; exports.BADQUERY = 'EBADQUERY'; -exports.ADNAME = 'EADNAME'; exports.BADNAME = 'EBADNAME'; exports.BADFAMILY = 'EBADFAMILY'; exports.BADRESP = 'EBADRESP';