Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix compiler warning in verify_packet_seqno()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Sep 3, 2016
1 parent 314ac65 commit 6b54792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-seqno.c
Expand Up @@ -112,7 +112,7 @@ int verify_packet_seqno(struct openconnect_info *vpninfo,
return -EINVAL;
} else {
/* Within the backlog window, so we remember whether we've seen it or not. */
uint64_t mask = 1ULL << delta - 2;
uint64_t mask = 1ULL << (delta - 2);

if (!(esp->seq_backlog & mask))
goto replayed;
Expand Down

0 comments on commit 6b54792

Please sign in to comment.