Skip to content

Commit b759e4a

Browse files
Merge branch 'release/IPM-2.8.0' into featureimage/IPMPROG-8540-clean-projects
2 parents 668321f + d0f870a commit b759e4a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/src/nut_agent.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,10 @@ void NUTAgent::advertisePhysics()
240240
if (device.second.hasProperty("status.ups")) {
241241
std::string status_s = device.second.property("status.ups");
242242
if (!status_s.empty() // fix IPMVAL-1889 (empty on data-stale)
243+
&& status_s != "WAIT" // fix when waiting for the driver response to dumpcmd
243244
&& device.second.subtype() != "epdu") // ups.status doesn't make sense for epdu
244245
{
246+
245247
std::string test_s = (device.second.hasProperty("ups.test.result")
246248
? device.second.property("ups.test.result")
247249
: "no test initiated");

packaging/debian/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Build-Depends: debhelper (>= 9),
2727
fty-cmake-dev,
2828
libcidr-dev,
2929
libnutclient-dev,
30+
libnutclientstub-dev,
3031
libczmq-dev,
3132
libmlm-dev,
3233
libcxxtools-dev,

0 commit comments

Comments
 (0)