Commit 26d64319 authored by Mikhail Zabaluev's avatar Mikhail Zabaluev

outbound.c: Do keepalives even when no NAT was detected

darcs-hash:20071002145122-5b6ca-fa6ca796f570f6dc05e1d536bd43a94ef6311fcd.gz
parent 1e28b5aa
......@@ -677,7 +677,7 @@ void outbound_start_keepalive(outbound_t *ob,
interval = ob->ob_prefs.interval;
need_to_validate = ob->ob_prefs.validate && !ob->ob_validated;
if (!ob->ob_nat_detected || !register_transaction ||
if (!register_transaction ||
!(need_to_validate || interval != 0)) {
outbound_stop_keepalive(ob);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment