mirror of
https://github.com/soypat/lneto.git
synced 2026-09-11 17:19:30 +00:00
dns: simplify @hnw function and additional fixes
This commit is contained in:
@@ -197,6 +197,8 @@ const (
|
||||
TypeALL Type = 255 // ALL
|
||||
)
|
||||
|
||||
func (tp Type) IsIPAddr() bool { return tp == TypeA || tp == TypeAAAA }
|
||||
|
||||
// A Class is a type of network.
|
||||
type Class uint16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user