log as error socket open failure
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1064 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
fa61207e4c
commit
1caf72ed86
|
@ -1400,7 +1400,7 @@ static void *zap_sangoma_boost_run(zap_thread_t *me, void *obj)
|
|||
sangoma_boost_data->mcon.cfg.local_port,
|
||||
sangoma_boost_data->mcon.cfg.remote_ip,
|
||||
sangoma_boost_data->mcon.cfg.remote_port) < 0) {
|
||||
zap_log(ZAP_LOG_DEBUG, "Error: Opening MCON Socket [%d] %s\n", sangoma_boost_data->mcon.socket, strerror(errno));
|
||||
zap_log(ZAP_LOG_ERROR, "Error: Opening MCON Socket [%d] %s\n", sangoma_boost_data->mcon.socket, strerror(errno));
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
@ -1409,7 +1409,7 @@ static void *zap_sangoma_boost_run(zap_thread_t *me, void *obj)
|
|||
++sangoma_boost_data->pcon.cfg.local_port,
|
||||
sangoma_boost_data->pcon.cfg.remote_ip,
|
||||
++sangoma_boost_data->pcon.cfg.remote_port) < 0) {
|
||||
zap_log(ZAP_LOG_DEBUG, "Error: Opening PCON Socket [%d] %s\n", sangoma_boost_data->pcon.socket, strerror(errno));
|
||||
zap_log(ZAP_LOG_ERROR, "Error: Opening PCON Socket [%d] %s\n", sangoma_boost_data->pcon.socket, strerror(errno));
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue