tweak layout

This commit is contained in:
Miek Gieben 2012-11-30 13:25:01 +01:00
parent 6e605f578e
commit c86d0c4331
1 changed files with 4 additions and 8 deletions

12
dns.go
View File

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