* check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT (prov... (#1324)
Oliver Skibbe <[email protected]>
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <monitoring-plugins/monitoring-plugins/pull/[email protected]> |
As noted in issue #1318 there's an inconsistency between help function (uses
constanct DEFAULT_SOCKET_TIMEOUT from utils.h) and actual code (uses
DEFAULT_TIMEOUT constant)
So i removed DEFAULT_TIMEOUT and added DEFAULT_SOCKET_TIMEOUT to
timeout_interval
You can view, comment on, or merge this pull request online at:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1324
-- Commit Summary --
* * check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT
(provided by utils.h), already used by help description, see issue #1318
-- File Changes --
M plugins/check_snmp.c (3)
-- Patch Links --
https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.diff
--
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1324