return -1;
}
- tr_debug("tr_mons_gss_handler: %p", mons->authorized_gss_names);
/* Ensure at least one client exists using this GSS name */
if (! tr_gss_names_matches(mons->authorized_gss_names, gss_name)) {
tr_info("tr_mons_gss_handler: Unauthorized request from %.*s", gss_name->len, gss_name->buf);
goto cleanup;
}
- if (cfg_mgr->active->internal->monitoring_port == 0) {
+ if (cfg_mgr->active->internal->mons_port == 0) {
tr_notice("tr_mons_event_init: monitoring is disabled, not enabling events or opening sockets");
retval = 0;
goto cleanup;
mons_ev->n_sock_fd = mons_get_listener(mons, tr_mons_req_handler,
tr_mons_auth_handler,
cfg_mgr->active->internal->hostname,
- cfg_mgr->active->internal->monitoring_port,
+ cfg_mgr->active->internal->mons_port,
(void *) cookie, mons_ev->sock_fd,
TR_MAX_SOCKETS);
if (mons_ev->n_sock_fd==0) {