diff --git a/libs/jrtplib/src/rtpudpv4transmitter.cpp b/libs/jrtplib/src/rtpudpv4transmitter.cpp index a720f1eb2c..5e9ef6047c 100644 --- a/libs/jrtplib/src/rtpudpv4transmitter.cpp +++ b/libs/jrtplib/src/rtpudpv4transmitter.cpp @@ -1706,7 +1706,7 @@ bool RTPUDPv4Transmitter::GetLocalIPList_Interfaces() while (tmp != 0) { - if (tmp->ifa_addr->sa_family == AF_INET) + if (tmp->ifa_addr && tmp->ifa_addr->sa_family == AF_INET) { struct sockaddr_in *inaddr = (struct sockaddr_in *)tmp->ifa_addr; localIPs.push_back(ntohl(inaddr->sin_addr.s_addr)); diff --git a/test b/test deleted file mode 100644 index e69de29bb2..0000000000