Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 77aef09d91e26be43f9efc2843571963 > files > 9

hobbit-4.2.0-10mdv2009.0.src.rpm

--- hobbit-4.2.0/web/hobbit-confreport.c.orig	2008-02-05 18:17:09.000000000 +0200
+++ hobbit-4.2.0/web/hobbit-confreport.c	2008-02-06 11:13:52.192590208 +0200
@@ -742,7 +742,11 @@
 			namelist_t *hinfo = hostinfo(hname);
 			char *nkalerts = bbh_item(hinfo, BBH_NK);
 
-			if (!nkalerts || (strcmp(nkval(hname, tname, nkalerts), "No") == 0)) wanted = 0;
+			if (newnkconfig) {
+				if (strcmp(nkval(hname, tname, nkalerts), "No") == 0 ) wanted = 0;
+			} else {
+				if (!nkalerts) wanted = 0;
+			}
 		}
 
 		if (wanted && hname && tname && strcmp(hname, "summary") && strcmp(tname, xgetenv("INFOCOLUMN")) && strcmp(tname, xgetenv("TRENDSCOLUMN"))) {