From e4317cc3e4f839ab7eb8f8548121acf5f2241fd4 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 30 Oct 2024 09:59:48 -0500 Subject: [PATCH] Use the right variable (cherry picked from commit e1e0ff5ead35ca4dd2d86775bb2943f1c8a44790) --- src/main/java/eu/siacs/conversations/utils/Resolver.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/utils/Resolver.java b/src/main/java/eu/siacs/conversations/utils/Resolver.java index 14b230921..c7412682e 100644 --- a/src/main/java/eu/siacs/conversations/utils/Resolver.java +++ b/src/main/java/eu/siacs/conversations/utils/Resolver.java @@ -239,8 +239,8 @@ public class Resolver { ((ReliableDnsClient) client).setUseHardcodedDnsServers(false); } final AbstractDnsClient dnssecclient = DnssecResolverApi.INSTANCE.getClient(); - if (client instanceof ReliableDnsClient) { - ((ReliableDnsClient) client).setUseHardcodedDnsServers(false); + if (dnssecclient instanceof ReliableDnsClient) { + ((ReliableDnsClient) dnssecclient).setUseHardcodedDnsServers(false); } }