This commit is contained in:
Miek Gieben 2012-01-15 15:30:12 +01:00
parent 0dcb849ca2
commit 3cb9591a51
2 changed files with 2 additions and 2 deletions

View File

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

View File

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