mirror of
https://github.com/miekg/dns.git
synced 2025-10-09 17:01:21 +02:00
Fix 1.1.1 missing return error
This commit is contained in:
parent
11d592bfa7
commit
6de33f30fe
@ -303,4 +303,5 @@ func (c Class) String() string {
|
||||
} else {
|
||||
return "CLASS" + strconv.Itoa(int(c))
|
||||
}
|
||||
panic("dns: not reached")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user