tweak layout
This commit is contained in:
parent
6e605f578e
commit
c86d0c4331
12
dns.go
12
dns.go
|
@ -132,9 +132,10 @@ type RR_Header struct {
|
|||
Rdlength uint16 // length of data after header
|
||||
}
|
||||
|
||||
func (h *RR_Header) Header() *RR_Header {
|
||||
return h
|
||||
}
|
||||
func (h *RR_Header) Header() *RR_Header { return h }
|
||||
|
||||
// Just to imlement the RR interface
|
||||
func (h *RR_Header) Copy() RR { return nil }
|
||||
|
||||
func (h *RR_Header) CopyHeader() *RR_Header {
|
||||
r := new(RR_Header)
|
||||
|
@ -146,11 +147,6 @@ func (h *RR_Header) CopyHeader() *RR_Header {
|
|||
return r
|
||||
}
|
||||
|
||||
// Just to imlement the RR interface
|
||||
func (h *RR_Header) Copy() RR {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (h *RR_Header) String() string {
|
||||
var s string
|
||||
|
||||
|
|
Loading…
Reference in New Issue