mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
Bugfixes.
This commit is contained in:
parent
d26d8e7bb7
commit
57f0dcf460
@ -192,6 +192,10 @@ bool Service::IsReachable(void) const
|
||||
|
||||
vector<Service>::iterator it;
|
||||
for (it = parents.begin(); it != parents.end(); it++) {
|
||||
/* ignore ourselves */
|
||||
if (it->GetName() == GetName())
|
||||
continue;
|
||||
|
||||
if (!it->IsReachable())
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user