Gofmt
This commit is contained in:
parent
0dcb849ca2
commit
3cb9591a51
|
@ -217,7 +217,7 @@ func (c *Client) ExchangeBuffer(inbuf []byte, a string, outbuf []byte) (n int, e
|
|||
if n, err = w.writeClient(inbuf); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
//Why cant we set the buf here?? TODO(MG)
|
||||
//Why cant we set the buf here?? TODO(MG)
|
||||
if n, err = w.readClient(outbuf); err != nil {
|
||||
return n, err
|
||||
}
|
||||
|
|
2
edns.go
2
edns.go
|
@ -135,5 +135,5 @@ func (rr *RR_OPT) Nsid() string {
|
|||
// SetNsid sets the NSID from a hex character string.
|
||||
// Use the empty string when requesting an NSID.
|
||||
func (rr *RR_OPT) SetNsid(hexnsid string) {
|
||||
rr.Option = append(rr.Option, Option{OptionCodeNSID, hexnsid})
|
||||
rr.Option = append(rr.Option, Option{OptionCodeNSID, hexnsid})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue