Browse Source

STUN: The most significant 2 bits is 0xc0 in hex

(cherry picked from commit a3f27f8751)
changes/37/12637/1
Changli Gao 9 years ago
committed by Richard Fuchs
parent
commit
8224320a54
1 changed files with 1 additions and 1 deletions
  1. +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] & 0xb0) != 0x00)
if ((b[0] & 0xc0) != 0x00)
return 0;
if ((b[3] & 0x3) != 0x0)
return 0;


Loading…
Cancel
Save