fix example
This commit is contained in:
parent
3a0c4f2cfa
commit
f0e9df42dc
|
@ -119,7 +119,7 @@ func (rd *APAIR) RdataLen() int {
|
|||
return net.IPv4len * 2
|
||||
}
|
||||
|
||||
func ExampleNewPrivateRR() {
|
||||
func ExamplePrivateHandle() {
|
||||
dns.PrivateHandle("APAIR", TypeAPAIR, NewAPAIR)
|
||||
defer dns.PrivateHandleRemove(TypeAPAIR)
|
||||
|
||||
|
|
Loading…
Reference in New Issue