From 97bc19b949f26d1a3cbdedc8fc81677c0dd0c2d7 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Wed, 17 Jan 2024 10:30:40 -0800 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-13280 Signed-off-by: stephb9959 --- src/RADIUS_Destination.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/RADIUS_Destination.h b/src/RADIUS_Destination.h index a5fca78d..f28d44c0 100644 --- a/src/RADIUS_Destination.h +++ b/src/RADIUS_Destination.h @@ -83,7 +83,9 @@ namespace OpenWifi { P.MakeStatusMessage(Pool_.authConfig.servers[ServerIndex_].name); poco_trace(Logger_, fmt::format("{}: Keep-Alive message.", Pool_.authConfig.servers[ServerIndex_].name)); std::cout << Pool_.name << " : " << __LINE__ << std::endl; - Socket_->sendBytes(P.Data(), P.Len()); + if(Type_!=GWObjects::RadiusEndpointType::generic) { + Socket_->sendBytes(P.Data(), P.Len()); + } std::cout << Pool_.name << " : " << __LINE__ << std::endl; LastKeepAlive = Utils::Now(); }