X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=mon%2Fmon_common.c;fp=mon%2Fmon_common.c;h=51979588f0086ab9b00d12c46648116273862279;hp=440a27797f354315e348007a0cb294f409c67a52;hb=1a106110e5e7f214ea60e7787d02c5565e7193f0;hpb=283699f7ec7db8a8ebe322ccb2568910b5c8701c diff --git a/mon/mon_common.c b/mon/mon_common.c index 440a277..5197958 100644 --- a/mon/mon_common.c +++ b/mon/mon_common.c @@ -96,6 +96,9 @@ const char *mon_opt_type_to_string(MON_OPT_TYPE opt_type) case OPT_TYPE_SHOW_TID_REQ_COUNT: return "tid_req_count"; + case OPT_TYPE_SHOW_TID_REQ_ERR_COUNT: + return "tid_req_error_count"; + case OPT_TYPE_SHOW_TID_REQ_PENDING: return "tid_req_pending"; @@ -121,6 +124,7 @@ MON_OPT_TYPE mon_opt_type_from_string(const char *s) return_if_matches(s, OPT_TYPE_SHOW_SERIAL); return_if_matches(s, OPT_TYPE_SHOW_UPTIME); return_if_matches(s, OPT_TYPE_SHOW_TID_REQ_COUNT); + return_if_matches(s, OPT_TYPE_SHOW_TID_REQ_ERR_COUNT); return_if_matches(s, OPT_TYPE_SHOW_TID_REQ_PENDING); return_if_matches(s, OPT_TYPE_SHOW_ROUTES); return_if_matches(s, OPT_TYPE_SHOW_COMMUNITIES);