aboutsummaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 4e26c43e9..e0a201773 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -445,6 +445,7 @@ Peer::Peer(u16 a_id, Address a_address)
address = a_address;
timeout_counter = 0.0;
//resend_timeout = RESEND_TIMEOUT_MINIMUM;
+ ping_timer = 0.0;
resend_timeout = 0.5;
avg_rtt = -1.0;
has_sent_with_id = false;