Skip to content

Commit

Permalink
stun: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
yosoyubik committed Nov 20, 2023
1 parent a6569f1 commit 71bb1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/vere/io/ames.c
Original file line number Diff line number Diff line change
Expand Up @@ -1713,8 +1713,8 @@ _stun_has_fingerprint(c3_y* buf_y, c3_w buf_len)
{
c3_y finger[4];

c3_y finger_buf[2]; finger_buf[0]= 0x80; finger_buf[0]= 0x28;
c3_y atr_len[2]; atr_len[0]= 0x00; atr_len[0]= 0x04;
c3_y finger_buf[2]; finger_buf[0]= 0x80; finger_buf[1]= 0x28;
c3_y atr_len[2]; atr_len[0]= 0x00; atr_len[1]= 0x04;

if (buf_len < 28) { // At least STUN header and FINGERPRINT
return c3n;
Expand Down

0 comments on commit 71bb1ec

Please sign in to comment.