Skip to content

Commit

Permalink
dns: add missing exports.BADNAME
Browse files Browse the repository at this point in the history
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. #3076 will remove the
wrong error code exports.ADNAME.

PR-URL: #3051
Fixes: #3050
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
  • Loading branch information
silverwind authored and rvagg committed Sep 30, 2015
1 parent 5ec5d0a commit 6ee5d0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 6ee5d0f

Please sign in to comment.