summaryrefslogtreecommitdiff
path: root/net/mrtg/patches
diff options
context:
space:
mode:
authormartti <martti>2002-11-19 11:24:28 +0000
committermartti <martti>2002-11-19 11:24:28 +0000
commit17b41037ca383cfd10a58b4768b00b75de99387c (patch)
tree08bb0db7d1e78f4f56e540ca3297a81db9e0783c /net/mrtg/patches
parenta5a4f054d7a7ec09b2b12537c81cd2cacb27c698 (diff)
downloadpkgsrc-17b41037ca383cfd10a58b4768b00b75de99387c.tar.gz
Updated mrtg to 2.9.26.2nb1
Avoid negative request ids (default_avoid_negative_request_ids=1) as this might cause problems with some devices. Solution provided by Tobias Oetiker in a private mail.
Diffstat (limited to 'net/mrtg/patches')
-rw-r--r--net/mrtg/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/mrtg/patches/patch-ae b/net/mrtg/patches/patch-ae
new file mode 100644
index 00000000000..e57681562d4
--- /dev/null
+++ b/net/mrtg/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2002/11/19 11:24:29 martti Exp $
+
+--- lib/mrtg2/SNMP_Session.pm.orig Tue Nov 19 13:12:41 2002
++++ lib/mrtg2/SNMP_Session.pm Tue Nov 19 13:13:35 2002
+@@ -99,7 +99,7 @@
+ ### some agents erroneously encode the response ID as an unsigned,
+ ### which prevents this code from matching such responses to requests.
+ ###
+-my $default_avoid_negative_request_ids = 0;
++my $default_avoid_negative_request_ids = 1;
+
+ ### Whether all SNMP_Session objects should share a single UDP socket.
+ ###