aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-03-03 22:29:03 +0800
committerphk <phk@FreeBSD.org>1997-03-03 22:29:03 +0800
commit5331c7b4e9cedae142d4089cc9afe002b7d0373d (patch)
tree4bbdfde1cdca6892e63babc32c45b52c20d6bee6 /net
parent8d5a8fcabe329c376a132a1e39293673daebfbd5 (diff)
downloadfreebsd-ports-gnome-5331c7b4e9cedae142d4089cc9afe002b7d0373d.tar.gz
freebsd-ports-gnome-5331c7b4e9cedae142d4089cc9afe002b7d0373d.tar.zst
freebsd-ports-gnome-5331c7b4e9cedae142d4089cc9afe002b7d0373d.zip
Interface load graphs now inherit SNMP properties from object.
Diffstat (limited to 'net')
-rw-r--r--net/scotty/files/patch-ac15
-rw-r--r--net/scotty3/files/patch-ac15
2 files changed, 30 insertions, 0 deletions
diff --git a/net/scotty/files/patch-ac b/net/scotty/files/patch-ac
new file mode 100644
index 000000000000..fea4b9f9de78
--- /dev/null
+++ b/net/scotty/files/patch-ac
@@ -0,0 +1,15 @@
+--- ../tkined/apps/snmp_monitor.tcl Mon Sep 2 18:30:19 1996
++++ ..//tkined/apps/snmp_monitor.tcl Mon Mar 3 14:43:52 1997
+@@ -482,8 +482,11 @@
+
+ set args $ip
+ set i 0
++ set snmpconfig [ined attribute $id "SNMP:Config"]
+ foreach if $iflist {
+- lappend args [CreateChart $id [expr 30+$i] [expr 30+$i]]
++ set nid [CreateChart $id [expr 30+$i] [expr 30+$i]]
++ lappend args $nid
++ ined -noupdate attribute $nid "SNMP:Config" $snmpconfig
+ lappend args $if
+ incr i
+ }
diff --git a/net/scotty3/files/patch-ac b/net/scotty3/files/patch-ac
new file mode 100644
index 000000000000..fea4b9f9de78
--- /dev/null
+++ b/net/scotty3/files/patch-ac
@@ -0,0 +1,15 @@
+--- ../tkined/apps/snmp_monitor.tcl Mon Sep 2 18:30:19 1996
++++ ..//tkined/apps/snmp_monitor.tcl Mon Mar 3 14:43:52 1997
+@@ -482,8 +482,11 @@
+
+ set args $ip
+ set i 0
++ set snmpconfig [ined attribute $id "SNMP:Config"]
+ foreach if $iflist {
+- lappend args [CreateChart $id [expr 30+$i] [expr 30+$i]]
++ set nid [CreateChart $id [expr 30+$i] [expr 30+$i]]
++ lappend args $nid
++ ined -noupdate attribute $nid "SNMP:Config" $snmpconfig
+ lappend args $if
+ incr i
+ }