Skip to content

Commit

Permalink
fix: zju dns check
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythologyli committed Dec 6, 2023
1 parent 739cbfd commit c63ada8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion networkdetector/networkdetector.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <QMessageBox>
#include "networkdetector.h"
#include "../utils/utils.h"

Expand Down Expand Up @@ -29,7 +30,7 @@ void NetworkDetector::start()
{
result.isDefaultDnsAvailable = true;

if (output.contains("10."))
if (output.contains("Address: 10."))
{
result.isZjuNet = true;
result.isZjuDnsCorrect = true;
Expand Down

0 comments on commit c63ada8

Please sign in to comment.