aboutsummaryrefslogtreecommitdiffstats
path: root/include/nms.pm
diff options
context:
space:
mode:
authorroot <root@frank.tg14.gathering.org>2014-04-15 03:21:24 +0200
committerroot <root@frank.tg14.gathering.org>2014-04-15 03:21:24 +0200
commit571101aadda3ff60506d30410632749a340e9068 (patch)
treeb5052a166ca5ab0e75cb61c9af0a19410757904a /include/nms.pm
parentb112fe480ba29ff5007a0bf0d81e9cf710a6fe2b (diff)
Unbreak SNMPv2.
Diffstat (limited to 'include/nms.pm')
-rw-r--r--include/nms.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nms.pm b/include/nms.pm
index e858c8b..a0f570b 100644
--- a/include/nms.pm
+++ b/include/nms.pm
@@ -139,6 +139,7 @@ sub snmp_open_session {
$options{'Version'} = 3;
} else {
+ $options{'Community'} = $community;
$options{'Version'} = 2;
}