AJ ONeal
7 years ago
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
(function (exports) { |
||||
|
'use strict'; |
||||
|
|
||||
|
var opcodes = exports.DNS_OPCODES = { |
||||
|
QUERY: 0x00 // 0
|
||||
|
}; |
||||
|
|
||||
|
// and in reverse
|
||||
|
Object.keys(opcodes).forEach(function (key) { |
||||
|
opcodes[opcodes[key]] = key; |
||||
|
}); |
||||
|
|
||||
|
}('undefined' !== typeof window ? window : exports)); |
Loading…
Reference in new issue