From 377d390dffc97a2d9137db7061cc065088abba3a Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 12 Aug 2014 18:42:53 -0400 Subject: [PATCH] fixed crash --- Streaming.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Streaming.cpp b/Streaming.cpp index bbc6bd30..c909f8d0 100644 --- a/Streaming.cpp +++ b/Streaming.cpp @@ -309,7 +309,7 @@ namespace stream size += 2; // options size p.len = size; - std::vector { &p }; + SendPackets (std::vector { &p }); LogPrint ("Quick Ack sent"); } @@ -419,6 +419,7 @@ namespace stream m_CurrentRemoteLease.tunnelGateway, m_CurrentRemoteLease.tunnelID, msg }); + leaseSet = nullptr; // send leaseSet only one time } outboundTunnel->SendTunnelDataMsg (msgs); }