forked from LittleChest/dns-packet
Fix return code error and make lint happy.
This commit is contained in:
parent
eabaaa5156
commit
9dad822ee8
@ -22,7 +22,7 @@ exports.toString = function (rcode) {
|
|||||||
case 14: return 'RCODE_14'
|
case 14: return 'RCODE_14'
|
||||||
case 15: return 'RCODE_15'
|
case 15: return 'RCODE_15'
|
||||||
}
|
}
|
||||||
return 'RCODE_' + type
|
return 'RCODE_' + rcode
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.toRcode = function (code) {
|
exports.toRcode = function (code) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user