mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 03:07:59 +00:00
Fixing daemon reload.
This commit is contained in:
@@ -399,6 +399,16 @@ components:
|
|||||||
type: integer
|
type: integer
|
||||||
hostname:
|
hostname:
|
||||||
type: string
|
type: string
|
||||||
|
certificates:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
filename:
|
||||||
|
type: string
|
||||||
|
expires:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
|
||||||
ProfileAction:
|
ProfileAction:
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
@@ -124,6 +124,7 @@ namespace OpenWifi {
|
|||||||
auto Hosts=i->HostSize();
|
auto Hosts=i->HostSize();
|
||||||
for(uint64_t j=0;j<Hosts;++j) {
|
for(uint64_t j=0;j<Hosts;++j) {
|
||||||
auto CertFileName = i->Host(j).CertFile();
|
auto CertFileName = i->Host(j).CertFile();
|
||||||
|
if(!CertFileName.empty()) {
|
||||||
auto InsertResult = CertNames.insert(CertFileName);
|
auto InsertResult = CertNames.insert(CertFileName);
|
||||||
if(InsertResult.second) {
|
if(InsertResult.second) {
|
||||||
Poco::JSON::Object Inner;
|
Poco::JSON::Object Inner;
|
||||||
@@ -135,6 +136,7 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Answer.set("certificates", Certificates);
|
Answer.set("certificates", Certificates);
|
||||||
ReturnObject(Answer);
|
ReturnObject(Answer);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user