Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/libpcpnatpmp/src/pcp_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,10 +834,15 @@ static pcp_server_state_e handle_server_ping(pcp_server_t *s) {

PCP_LOG_END(PCP_LOGLVL_DEBUG);
return pss_wait_ping_resp;
} else {
gettimeofday(&s->next_timeout, NULL);
PCP_LOG_END(PCP_LOGLVL_DEBUG);
return pss_set_not_working;
}
}
s->next_timeout.tv_sec = 0;
s->next_timeout.tv_usec = 0;
PCP_LOG_END(PCP_LOGLVL_DEBUG);
return pss_ping;
}

Expand Down
Loading