forked from LittleChest/dns-packet
fix: Remove duplicate named export txt (#71)
This commit is contained in:
parent
5aebb85c32
commit
8e6d91c078
2
index.js
2
index.js
@ -15,7 +15,7 @@ const NOT_FLUSH_MASK = ~FLUSH_MASK
|
|||||||
const QU_MASK = 1 << 15
|
const QU_MASK = 1 << 15
|
||||||
const NOT_QU_MASK = ~QU_MASK
|
const NOT_QU_MASK = ~QU_MASK
|
||||||
|
|
||||||
const name = exports.txt = exports.name = {}
|
const name = exports.name = {}
|
||||||
|
|
||||||
name.encode = function (str, buf, offset) {
|
name.encode = function (str, buf, offset) {
|
||||||
if (!buf) buf = Buffer.alloc(name.encodingLength(str))
|
if (!buf) buf = Buffer.alloc(name.encodingLength(str))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user