diff --git a/src/APConfig.cpp b/src/APConfig.cpp index eefe41f..6a0f3ff 100644 --- a/src/APConfig.cpp +++ b/src/APConfig.cpp @@ -127,7 +127,7 @@ namespace OpenWifi { ProvObjects::RADIUSEndPoint RE; DBGLINE std::cout << "ID->" << EndPointId << std::endl; - if(!StorageService()->RadiusEndpointDB().GetRecord("id",EndPointId,RE)) { + if(StorageService()->RadiusEndpointDB().GetRecord("id",EndPointId,RE)) { DBGLINE InsertRadiusEndPoint(RE, Result); DBGLINE