17 lines
481 B
Diff
17 lines
481 B
Diff
Index: gmetad/process_xml.c
|
|
===================================================================
|
|
--- gmetad/process_xml.c (revision 1634)
|
|
+++ gmetad/process_xml.c (working copy)
|
|
@@ -724,7 +724,11 @@
|
|
|
|
if (!xmldata->host_alive)
|
|
return 0;
|
|
-
|
|
+
|
|
+ /* Only keep extra element details if we are the authority on this cluster. */
|
|
+ if (!authority_mode(xmldata))
|
|
+ return 0;
|
|
+
|
|
hashkey.data = (void*) name;
|
|
hashkey.size = strlen(name) + 1;
|
|
|