From f84b3e4ce9ab1ae50dae753c5c841d81777ba0c5 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 20 Sep 2024 17:52:31 -0400 Subject: [PATCH] Revert "Minor code review" This reverts commit 76e035989fff4b16306a2ff7efe6f97a66c03d49. --- platform/firefox/vapi-background-ext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background-ext.js b/platform/firefox/vapi-background-ext.js index 895ddeb54..92c2d95c9 100644 --- a/platform/firefox/vapi-background-ext.js +++ b/platform/firefox/vapi-background-ext.js @@ -99,7 +99,7 @@ vAPI.Net = class extends vAPI.Net { normalizeDetails(details) { // https://github.com/uBlockOrigin/uBlock-issues/issues/3379 - if ( details.ip === '0.0.0.0' && details.proxyInfo?.proxyDNS ) { + if ( details.proxyInfo?.proxyDNS && details.ip === '0.0.0.0' ) { details.ip = null; } const type = details.type;