Permalink
Browse files

pluto-log-merge.pl - fix handling of event interrupted received messages

  • Loading branch information...
bartman committed Apr 5, 2018
1 parent a868b1d commit 73e2a80fc65d2bdf9b89773fe29eb250f6d92000
Showing with 3 additions and 1 deletion.
  1. +3 −1 contrib/scripts/pluto-log-merge.pl
@@ -336,7 +336,9 @@ sub create_event_reader {
$self->{ev}->{SA_unrouted} = $2 if $2;
}
elsif ($txt =~ m/emit ISAKMP Message:/) {
if (defined $self->{ev}->{why_start} && $self->{ev}->{why_start} eq 'received') {
if (defined $self->{ev}->{why_start}
&& ($self->{ev}->{why_start} eq 'received'
|| defined $self->{ev}->{parse})) {
append_debug_line($self, $line);
complete_current_ev($self, $line, 'received');
start_new_ev($self, $line, 'responding');

0 comments on commit 73e2a80

Please sign in to comment.