summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 145301229..bd9595004 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -365,6 +365,8 @@ bool connection::SendPacket(char *message, const char* host)
log(DEBUG,"Disabling connector: %s",cn->GetServerName().c_str());
cn->CloseConnection();
cn->SetState(STATE_DISCONNECTED);
+ // retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)
+ this->SendPacket(message,host);
return false;
}
return true;