From: Roman Reiss Date: Sat, 26 Sep 2015 13:14:15 +0000 (+0200) Subject: dns: add missing exports.BADNAME X-Git-Tag: v4.1.2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ee5d0f69f28bb4b92eff447ed39d3ef7d4728a6;p=platform%2Fupstream%2Fnodejs.git dns: add missing exports.BADNAME Adds the documented but missing DNS error exports.BADNAME. This export has been there before but got lost in a 2012 commit that added more error codes. https://github.com/nodejs/node/pull/3076 will remove the wrong error code exports.ADNAME. PR-URL: https://github.com/nodejs/node/pull/3051 Fixes: https://github.com/nodejs/node/issues/3050 Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Michaël Zasso Reviewed-By: Evan Lucas --- diff --git a/lib/dns.js b/lib/dns.js index 97f730c..e1a2c03 100644 --- a/lib/dns.js +++ b/lib/dns.js @@ -331,6 +331,7 @@ exports.NOTIMP = 'ENOTIMP'; exports.REFUSED = 'EREFUSED'; exports.BADQUERY = 'EBADQUERY'; exports.ADNAME = 'EADNAME'; +exports.BADNAME = 'EBADNAME'; exports.BADFAMILY = 'EBADFAMILY'; exports.BADRESP = 'EBADRESP'; exports.CONNREFUSED = 'ECONNREFUSED';