[mgcp] Print the rtp_port number, do not assume it was already assigned.

This commit is contained in:
Holger Hans Peter Freyther 2010-02-26 13:10:51 +01:00
parent 1b0ea97457
commit 590cd98842
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ int mgcp_parse_config(const char *config_file, struct mgcp_config *cfg)
rtp_port = rtp_calculate_port(ENDPOINT_NUMBER(endp), g_cfg->rtp_base_port);
if (mgcp_bind_rtp_port(endp, rtp_port) != 0) {
LOGP(DMGCP, LOGL_FATAL, "Failed to bind: %d\n", endp->rtp_port);
LOGP(DMGCP, LOGL_FATAL, "Failed to bind: %d\n", rtp_port);
return -1;
}
}