Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
ce5ce4d9
Commit
ce5ce4d9
authored
Oct 07, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udp-turn should also handle error responses for send requests and set-active-destination
parent
a769e34f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
socket/udp-turn.c
socket/udp-turn.c
+6
-6
No files found.
socket/udp-turn.c
View file @
ce5ce4d9
...
@@ -267,18 +267,18 @@ nice_udp_turn_socket_parse_recv (
...
@@ -267,18 +267,18 @@ nice_udp_turn_socket_parse_recv (
goto
recv
;
goto
recv
;
}
}
if
(
stun_message_get_method
(
&
msg
)
==
STUN_SEND
)
{
if
(
stun_message_get_class
(
&
msg
)
==
STUN_RESPONSE
&&
if
(
stun_message_get_class
(
&
msg
)
==
STUN_RESPONSE
&&
stun_message_get_method
(
&
msg
)
==
STUN_SEND
)
{
priv
->
compatibility
==
NICE_UDP_TURN_SOCKET_COMPATIBILITY_GOOGLE
)
{
if
(
priv
->
compatibility
==
NICE_UDP_TURN_SOCKET_COMPATIBILITY_GOOGLE
)
{
uint32_t
options
=
0
;
uint32_t
options
=
0
;
if
(
stun_message_find32
(
&
msg
,
STUN_ATTRIBUTE_OPTIONS
,
&
options
)
==
0
&&
if
(
stun_message_find32
(
&
msg
,
STUN_ATTRIBUTE_OPTIONS
,
&
options
)
==
0
&&
options
&
0x1
)
options
&
0x1
)
goto
msn_google_lock
;
goto
msn_google_lock
;
}
}
return
0
;
return
0
;
}
else
if
(
stun_message_get_
class
(
&
msg
)
==
STUN_RESPONSE
&&
}
else
if
(
stun_message_get_
method
(
&
msg
)
==
STUN_OLD_SET_ACTIVE_DST
)
{
stun_message_get_method
(
&
msg
)
==
STUN_OLD_SET_ACTIVE_DST
)
{
if
(
stun_message_get_class
(
&
msg
)
==
STUN_RESPONSE
&&
if
(
priv
->
compatibility
==
NICE_UDP_TURN_SOCKET_COMPATIBILITY_MSN
)
priv
->
compatibility
==
NICE_UDP_TURN_SOCKET_COMPATIBILITY_MSN
)
goto
msn_google_lock
;
goto
msn_google_lock
;
return
0
;
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment