Browse Source

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

pull/333/head
Changli Gao 9 years ago
parent
commit
a3f27f8751
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