typo
This commit is contained in:
parent
7aa11e5d3e
commit
6eabda897c
|
@ -66,7 +66,7 @@ func (u *Update) NameNotUsed(rr []RR) {
|
||||||
// "RRset exists (value dependent -- with rdata)" RRs. RFC 2136 section 2.4.2.
|
// "RRset exists (value dependent -- with rdata)" RRs. RFC 2136 section 2.4.2.
|
||||||
func (u *Update) RRsetUsedFull(rr []RR) {
|
func (u *Update) RRsetUsedFull(rr []RR) {
|
||||||
if len(u.Msg.Question) == 0 {
|
if len(u.Msg.Question) == 0 {
|
||||||
panic("empty question section"
|
panic("empty question section")
|
||||||
}
|
}
|
||||||
u.Answer = make([]RR, len(rr))
|
u.Answer = make([]RR, len(rr))
|
||||||
for i, r := range rr {
|
for i, r := range rr {
|
||||||
|
@ -111,7 +111,7 @@ func (u *Update) RRsetNotUsed(rr []RR) {
|
||||||
// RRsetAddFull adds an complete RRset, see RFC 2136 section 2.5.1
|
// RRsetAddFull adds an complete RRset, see RFC 2136 section 2.5.1
|
||||||
func (u *Update) RRsetAddFull(rr []RR) {
|
func (u *Update) RRsetAddFull(rr []RR) {
|
||||||
if len(u.Msg.Question) == 0 {
|
if len(u.Msg.Question) == 0 {
|
||||||
panic("empty question section"
|
panic("empty question section")
|
||||||
}
|
}
|
||||||
u.Ns = make([]RR, len(rr))
|
u.Ns = make([]RR, len(rr))
|
||||||
for i, r := range rr {
|
for i, r := range rr {
|
||||||
|
|
Loading…
Reference in New Issue