summaryrefslogtreecommitdiff
path: root/net-mgmt/scotty3/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/scotty3/files/patch-ac')
-rw-r--r--net-mgmt/scotty3/files/patch-ac23
1 files changed, 9 insertions, 14 deletions
diff --git a/net-mgmt/scotty3/files/patch-ac b/net-mgmt/scotty3/files/patch-ac
index fea4b9f9de78..40ac4a2358ad 100644
--- a/net-mgmt/scotty3/files/patch-ac
+++ b/net-mgmt/scotty3/files/patch-ac
@@ -1,15 +1,10 @@
---- ../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 @@
+--- ../tnm/generic/tnmPort.h Tue Aug 6 13:49:19 1996
++++ ../tnm/generic/tnmPort.h Thu Mar 6 17:10:29 1997
+@@ -20,4 +20,7 @@
+ # include "../../unix/tnmUnixPort.h"
+ #endif
- 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
- }
++#ifndef INADDR_LOOPBACK
++#define INADDR_LOOPBACK 0x7f000001
++#endif
+ #endif /* _TNMPORT */