summaryrefslogtreecommitdiff
path: root/net/scotty/patches/patch-ab
blob: e56a309c8aaae611792386a9814b028c5007daed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.2 1998/08/07 11:10:55 agc Exp $

--- ../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
 	}