DNS Outbound: Return rcode2 when encountered internal err

This commit is contained in:
风扇滑翔翼
2025-10-19 16:53:21 +00:00
committed by GitHub
parent b69a376aa1
commit 964ebe8ffa

View File

@@ -68,5 +68,6 @@ func RCodeFromError(err error) uint16 {
if r, ok := cause.(RCodeError); ok {
return uint16(r)
}
return 0
// unknown error
return 2
}