mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
update some dependencies (#208)
* update some dependencies * some more * add these * remove things? * regen
This commit is contained in:
13
vendor/github.com/miekg/dns/scan_rr.go
generated
vendored
13
vendor/github.com/miekg/dns/scan_rr.go
generated
vendored
@ -1807,6 +1807,18 @@ func setSPF(h RR_Header, c chan lex, o, f string) (RR, *ParseError, string) {
|
||||
return rr, nil, c1
|
||||
}
|
||||
|
||||
func setAVC(h RR_Header, c chan lex, o, f string) (RR, *ParseError, string) {
|
||||
rr := new(AVC)
|
||||
rr.Hdr = h
|
||||
|
||||
s, e, c1 := endingToTxtSlice(c, "bad AVC Txt", f)
|
||||
if e != nil {
|
||||
return nil, e, ""
|
||||
}
|
||||
rr.Txt = s
|
||||
return rr, nil, c1
|
||||
}
|
||||
|
||||
func setTXT(h RR_Header, c chan lex, o, f string) (RR, *ParseError, string) {
|
||||
rr := new(TXT)
|
||||
rr.Hdr = h
|
||||
@ -2158,6 +2170,7 @@ var typeToparserFunc = map[uint16]parserFunc{
|
||||
TypeSMIMEA: {setSMIMEA, true},
|
||||
TypeSOA: {setSOA, false},
|
||||
TypeSPF: {setSPF, true},
|
||||
TypeAVC: {setAVC, true},
|
||||
TypeSRV: {setSRV, false},
|
||||
TypeSSHFP: {setSSHFP, true},
|
||||
TypeTALINK: {setTALINK, false},
|
||||
|
Reference in New Issue
Block a user