<p>As noted in issue <a href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1318" class="issue-link" title="check_snmp default timeout incorrect in --help output">#1318</a> there's an inconsistency between help function (uses constanct DEFAULT_SOCKET_TIMEOUT from utils.h) and actual code (uses DEFAULT_TIMEOUT constant)</p>

<p>So i removed DEFAULT_TIMEOUT and added DEFAULT_SOCKET_TIMEOUT to timeout_interval</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1324'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1324</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>* check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT (provided by utils.h), already used by help description, see issue #1318</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1324/files#diff-0">plugins/check_snmp.c</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.patch</a></li>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1324.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1324">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2ZZFzVefo2ns5bQoR4h-Q05r1nCjks5nyDKIgaJpZM4Dp86i.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1324"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>