Correct the DNSKEY flag values

See https://www.iana.org/assignments/dnskey-flags/dnskey-flags.xhtml

Elsewhere in the code 256 (1 << 8) is used numerically for ZONE, so nothing breaks for now.
This commit is contained in:
Filippo Valsorda 2014-09-04 15:31:23 -07:00
parent fbc3e49b78
commit 3a7db158f5
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ const (
// DNSKEY flag values.
const (
SEP = 1
ZONE = 1 << 7
REVOKE = 1 << 8
REVOKE = 1 << 7
ZONE = 1 << 8
)
// The RRSIG needs to be converted to wireformat with some of