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:
Miek Gieben 2015-03-09 21:55:54 +00:00
commit d5c6e55eed
1 changed files with 1 additions and 1 deletions

2
dns.go
View File

@ -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.
) )