diff --git a/netwerk/dns/TRRService.cpp b/netwerk/dns/TRRService.cpp index 192ac561aa7f..0079feed6bdb 100644 --- a/netwerk/dns/TRRService.cpp +++ b/netwerk/dns/TRRService.cpp @@ -99,7 +99,7 @@ bool TRRService::Enabled() { if (mConfirmationState == CONFIRM_INIT && - (!mWaitForCaptive || mCaptiveIsPassed)) { + (!mWaitForCaptive || mCaptiveIsPassed || (mMode == MODE_TRRONLY))) { LOG(("TRRService::Enabled => CONFIRM_TRYING\n")); mConfirmationState = CONFIRM_TRYING; }