Added excessive debug output to sptps

This commit is contained in:
thorkill 2015-12-10 17:08:03 +01:00
parent c94214500f
commit 1dd8033ea5
7 changed files with 107 additions and 27 deletions

View file

@ -249,8 +249,12 @@ static void check_reachability(void) {
n->status.validkey = false;
if(n->status.sptps) {
sptps_stop(&n->sptps);
n->status.waitingforkey = false;
sptps_t *s = &n->sptps;
if (s->handle) {
logger(DEBUG_ALWAYS, LOG_INFO, "Sptps active with: %s state: %d/%d", n->name, s->state, s->outstate);
sptps_stop(&n->sptps);
n->status.waitingforkey = false;
}
}
n->last_req_key = 0;