From ebdec1fa3e703778d307704546bcdcc2f43427bb Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 14 May 2026 19:35:29 +0000 Subject: [PATCH] Only enforce havePcap if necessary. Fixes #564 --- nping/NpingOps.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nping/NpingOps.cc b/nping/NpingOps.cc index 84a6f1769..313b960f8 100644 --- a/nping/NpingOps.cc +++ b/nping/NpingOps.cc @@ -2225,7 +2225,7 @@ will open a UAC dialog where you can start the service if you have\n\ administrator privileges."; #endif -if (this->havePcap()==false){ +if (this->isRoot() && this->havePcap()==false){ #ifdef WIN32 nping_fatal(QT_3, "Nping requires %s", privreq); #else