]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix our first bug bug(#1)
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 8 Feb 2006 20:56:55 +0000 (20:56 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 8 Feb 2006 20:56:55 +0000 (20:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@567 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/jrtplib/src/rtpudpv4transmitter.cpp
test [deleted file]

index a720f1eb2ccda79c7f6fe7efba5eb93588efbf0d..5e9ef6047c29711d1280bdb37d6f89a36aa7bf96 100644 (file)
@@ -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 (file)
index e69de29..0000000