mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
merge patch for IPv4 only compilation
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@749 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
0bbb3b9f3b
commit
9e7480ff9d
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue