X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=mon%2Fmon_common.c;h=3ca8d16fa90ad6f123051e8ac75fc0bef621a8fa;hp=a237b5d27c24f744027fe30347deca3c8f7c0d43;hb=7458d6a285fa526fd8cec03e1bbb497650a0e405;hpb=5214f20ad646142aab61b025d41e84c5b881d2b6 diff --git a/mon/mon_common.c b/mon/mon_common.c index a237b5d..3ca8d16 100644 --- a/mon/mon_common.c +++ b/mon/mon_common.c @@ -34,7 +34,7 @@ #include -#include +#include #include #include @@ -50,9 +50,6 @@ const char *mon_cmd_to_string(MON_CMD cmd) case MON_CMD_UNKNOWN: return NULL; - case MON_CMD_RECONFIGURE: - return "reconfigure"; - case MON_CMD_SHOW: return "show"; } @@ -68,7 +65,6 @@ const char *mon_cmd_to_string(MON_CMD cmd) MON_CMD mon_cmd_from_string(const char *s) { - return_if_matches(s, MON_CMD_RECONFIGURE); return_if_matches(s, MON_CMD_SHOW); return MON_CMD_UNKNOWN; } @@ -94,13 +90,13 @@ const char *mon_opt_type_to_string(MON_OPT_TYPE opt_type) return "uptime"; case OPT_TYPE_SHOW_TID_REQ_COUNT: - return "tid_req_count"; + return "tid_reqs_processed"; case OPT_TYPE_SHOW_TID_REQ_ERR_COUNT: - return "tid_req_error_count"; + return "tid_error_count"; case OPT_TYPE_SHOW_TID_REQ_PENDING: - return "tid_req_pending"; + return "tid_reqs_pending"; case OPT_TYPE_SHOW_ROUTES: return "routes";