File ntop-dot-path.patch of Package ntop

Index: report.c
===================================================================
--- report.c.orig
+++ report.c
@@ -2299,7 +2299,7 @@ void makeDot() {
   if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
     snprintf(dotPath, sizeof(dotPath), "%s", buf);
   } else {
-    snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
+    snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
     storePrefsValue("dot.path", dotPath); /* Set the default */
   }
 
openSUSE Build Service is sponsored by