Merge pull request #191 from ValiMail/bugfix/off_by_1_in_max_size
Fix off by one error in MaxMsgSize
This commit is contained in:
commit
d5c6e55eed
2
dns.go
2
dns.go
|
@ -9,7 +9,7 @@ const (
|
||||||
// MinMsgSize is the minimal size of a DNS packet.
|
// MinMsgSize is the minimal size of a DNS packet.
|
||||||
MinMsgSize = 512
|
MinMsgSize = 512
|
||||||
// MaxMsgSize is the largest possible DNS packet.
|
// MaxMsgSize is the largest possible DNS packet.
|
||||||
MaxMsgSize = 65536
|
MaxMsgSize = 65535
|
||||||
defaultTtl = 3600 // Default internal TTL.
|
defaultTtl = 3600 // Default internal TTL.
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue