Skip to content

Commit

Permalink
Print when receiving ESP packets
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jan 26, 2015
1 parent 7188e38 commit 376fead
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp.c
Expand Up @@ -52,6 +52,9 @@ int verify_packet_seqno(struct openconnect_info *vpninfo,
/* The common case. This is the packet we expected next. */
esp->seq_backlog <<= 1;
esp->seq++;
vpn_progress(vpninfo, PRG_TRACE,
_("Accepting expected ESP packet with seq %u\n"),
seq);
return 0;
} else if (seq + 33 < esp->seq) {
/* Too old. We can't know if it's a replay. */
Expand Down

0 comments on commit 376fead

Please sign in to comment.