Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
ntop
> dotpath-3.3.6.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File dotpath-3.3.6.diff of Package ntop (Revision 40)
Currently displaying revision
40
,
show latest
--- report.c.orig 2008-06-12 09:31:27.000000000 +0200 +++ report.c 2008-06-12 09:44:42.000000000 +0200 @@ -2301,7 +2301,7 @@ 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 */ } @@ -6953,7 +6953,7 @@ if(el == myGlobals.broadcastEntry) continue; - if((key == NULL) || (key == "")) do_add = 1; + if((key == NULL) || (key[0] == 0)) do_add = 1; else if(el->hostNumIpAddress && strcasestr(el->hostNumIpAddress, key)) do_add = 1; else if(strcasestr(el->ethAddressString, key)) do_add = 2; else if(strcasestr(el->hostResolvedName, key)) do_add = 1;