Commit 9e7480ff authored by smorlat's avatar smorlat
Browse files

merge patch for IPv4 only compilation

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@749 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 0bbb3b9f
......@@ -318,7 +318,7 @@ int rtp_session_set_multicast_ttl(RtpSession *session, int ttl)
(SOCKET_OPTION_VALUE) &session->multicast_ttl, sizeof(session->multicast_ttl));
} break;
#ifdef ORTP_INET6
case AF_INET6: {
retval= setsockopt(session->rtp.socket, IPPROTO_IPV6, IPV6_MULTICAST_HOPS,
......@@ -330,7 +330,7 @@ int rtp_session_set_multicast_ttl(RtpSession *session, int ttl)
(SOCKET_OPTION_VALUE) &session->multicast_ttl, sizeof(session->multicast_ttl));
} break;
#endif
default:
retval=-1;
}
......@@ -394,7 +394,7 @@ int rtp_session_set_multicast_loopback(RtpSession *session, int yesno)
(SOCKET_OPTION_VALUE) &session->multicast_loopback, sizeof(session->multicast_loopback));
} break;
#ifdef ORTP_INET6
case AF_INET6: {
retval= setsockopt(session->rtp.socket, IPPROTO_IPV6, IPV6_MULTICAST_LOOP,
......@@ -406,7 +406,7 @@ int rtp_session_set_multicast_loopback(RtpSession *session, int yesno)
(SOCKET_OPTION_VALUE) &session->multicast_loopback, sizeof(session->multicast_loopback));
} break;
#endif
default:
retval=-1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment