mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
Add fallback local DNS server for iOS
This commit is contained in:
@@ -26,7 +26,7 @@ func HandleStreamDNSRequest(ctx context.Context, router adapter.DNSRouter, conn
|
||||
return err
|
||||
}
|
||||
if queryLength == 0 {
|
||||
return dns.RCodeFormatError
|
||||
return dns.RcodeFormatError
|
||||
}
|
||||
buffer := buf.NewSize(int(queryLength))
|
||||
defer buffer.Release()
|
||||
|
||||
Reference in New Issue
Block a user