Permalink
Browse files

earlytalker: prefix messages with result keywords

  • Loading branch information...
1 parent 4c6054c commit 5e7568fe71b2481c4870a432da73ebdfe4f1151c @msimerson msimerson committed with rspier May 15, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 plugins/check_earlytalker
View
8 plugins/check_earlytalker
@@ -126,7 +126,7 @@ sub apr_connect_handler {
}
}
else {
- $self->log(LOGINFO, "remote host said nothing spontaneous, proceeding");
+ $self->log(LOGINFO, "pass: remote host said nothing spontaneous");
}
}
@@ -149,7 +149,7 @@ sub apr_data_handler {
return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft';
}
else {
- $self->log(LOGINFO, "remote host said nothing spontaneous, proceeding");
+ $self->log(LOGINFO, "pass: remote host said nothing spontaneous");
}
}
@@ -173,7 +173,7 @@ sub connect_handler {
return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft';
}
} else {
- $self->log(LOGINFO, 'remote host said nothing spontaneous, proceeding');
+ $self->log(LOGINFO, 'pass: remote host said nothing spontaneous');
}
return DECLINED;
}
@@ -195,7 +195,7 @@ sub data_handler {
return (DENYSOFT,$msg) if $self->{_args}->{'action'} eq 'denysoft';
}
else {
- $self->log(LOGINFO, 'remote host said nothing spontaneous, proceeding');
+ $self->log(LOGINFO, 'pass: remote host said nothing spontaneous');
}
return DECLINED;
}

0 comments on commit 5e7568f

Please sign in to comment.