summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--procutils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/procutils.c b/procutils.c
index de128d5..816fa40 100644
--- a/procutils.c
+++ b/procutils.c
@@ -391,6 +391,10 @@ struct proc_nr_nodes *read_proc_nr_nodes(void)
if ((cp = nr_config_get_alias(name)) == NULL)
break;
safe_strncpy(new->alias, cp, 6);
+ new->w = 1; /* local node w */
+ new->qual1 = 255; /* obviously, local node quality should be set to maximum value */
+ new->obs1 = 6; /* persist */
+
/*
* n == 0 indicates a local node.
*/
pan='2' class='sha1'>bdeeab62a611f1f7cd48fd285ce568e8dcd0455a (diff)
Linux 3.12-rc6v3.12-rc6
Diffstat