We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d17ba commit 05e4a73Copy full SHA for 05e4a73
1 file changed
dnscrypt-proxy/proxy.go
@@ -683,7 +683,11 @@ func (proxy *Proxy) processIncomingQuery(
683
onlyCached bool,
684
) []byte {
685
// Initialize metrics for this query
686
- dlog.Debugf("Processing incoming query from %s", (*clientAddr).String())
+ clientAddrStr := "unknown"
687
+ if clientAddr != nil {
688
+ clientAddrStr = (*clientAddr).String()
689
+ }
690
+ dlog.Debugf("Processing incoming query from %s", clientAddrStr)
691
692
// Validate the query
693
var response []byte
0 commit comments