Code

apcups: allow to use plugin without explicit configuration
authorPavel Rochnyack <pavel2000@ngs.ru>
Fri, 7 Jul 2017 17:56:23 +0000 (00:56 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Fri, 7 Jul 2017 17:56:23 +0000 (00:56 +0700)
commit01bef211494e1c7e32c880849c05fa3c1e678cfb
tree490e5ac104fedb5942e849da669cbad81619eb15
parent867ad628dc6fcd05bd584b605d7093cfc00c3d07
apcups: allow to use plugin without explicit configuration
Previously the apcups plugin could not be used without defining
an explicit configuration.

While the apcups plugin did provide a localhost fallback, it
did not however provide a 3551 port fallback in practice,
eventhough a constant for that purpose was already present.

Thanks to Pascal de Bruijn for report.

Closes: #2347
src/apcups.c