This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
STUN: The most significant 2 bits is 0xc0 in hex
pull/333/head
Changli Gao
9 years ago
parent
db6a37ac1d
commit
a3f27f8751
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
daemon/stun.h
+ 1
- 1
daemon/stun.h
View File
@ -37,7 +37,7 @@ INLINE int is_stun(const str *s) {
if
(
s
-
>
len
<
20
)
return
0
;
if
(
(
b
[
0
]
&
0x
b
0
)
!
=
0x00
)
if
(
(
b
[
0
]
&
0x
c
0
)
!
=
0x00
)
return
0
;
if
(
(
b
[
3
]
&
0x3
)
!
=
0x0
)
return
0
;
Write
Preview
Loading…
Cancel
Save