Check RTP IP address nullity

This commit is contained in:
Mamadou DIOP 2016-05-27 19:50:12 +02:00
parent ffcc3bed0e
commit 2167a933b2
1 changed files with 1 additions and 1 deletions

View File

@ -942,7 +942,7 @@ int trtp_manager_prepare(trtp_manager_t* self)
uint8_t retry_count = __retry_count_max;
// If local IP is defined then check its address family
if (!tsk_strempty(self->local_ip)) {
if (!tsk_strnullORempty(self->local_ip)) {
socket_type = tnet_get_type(self->local_ip, rtp_local_port); // IP address always returns IPv4Only or IPv6Only
}