X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=mon%2Fmon_common.c;h=b03afdabc6390eaa9c2a4ed9c7f19936601d3250;hp=d97c9435d6db6f80456938eef82c3f313d1c4452;hb=dd90d231263fc3dde5f538a5a83d88dd701ed178;hpb=81c77ab872340d96b75232dbeeba6e23a58d8088 diff --git a/mon/mon_common.c b/mon/mon_common.c index d97c943..b03afda 100644 --- a/mon/mon_common.c +++ b/mon/mon_common.c @@ -110,6 +110,12 @@ const char *mon_opt_type_to_string(MON_OPT_TYPE opt_type) case OPT_TYPE_SHOW_COMMUNITIES: return "communities"; + + case OPT_TYPE_SHOW_REALMS: + return "realms"; + + case OPT_TYPE_SHOW_RP_CLIENTS: + return "rp_clients"; } return NULL; } @@ -132,6 +138,8 @@ MON_OPT_TYPE mon_opt_type_from_string(const char *s) return_if_matches(s, OPT_TYPE_SHOW_ROUTES); return_if_matches(s, OPT_TYPE_SHOW_PEERS); return_if_matches(s, OPT_TYPE_SHOW_COMMUNITIES); + return_if_matches(s, OPT_TYPE_SHOW_REALMS); + return_if_matches(s, OPT_TYPE_SHOW_RP_CLIENTS); return OPT_TYPE_UNKNOWN; } #undef return_if_matches