projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for "show realms" monitoring request
[trust_router.git]
/
common
/
tr_comm_encoders.c
diff --git
a/common/tr_comm_encoders.c
b/common/tr_comm_encoders.c
index
8a5a9b6
..
bd3278e
100644
(file)
--- a/
common/tr_comm_encoders.c
+++ b/
common/tr_comm_encoders.c
@@
-183,6
+183,8
@@
static json_t *tr_comm_realms_to_json(TR_COMM_TABLE *ctable, TR_NAME *comm_name,
iter = tr_comm_iter_new(NULL);
realm = tr_realm_iter_first(iter, ctable, comm_name);
iter = tr_comm_iter_new(NULL);
realm = tr_realm_iter_first(iter, ctable, comm_name);
+
+ /* Do not display the full realm json here, only the name and info relevant to the community listing */
while(realm) {
if (realm->role == role) {
realm_json = json_object();
while(realm) {
if (realm->role == role) {
realm_json = json_object();