Re: [tkined] Re: Change port# and New Suggestion

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 24 Jul 1998 17:39:42 +0200

>>>>> Vincent Qing Yin writes:

Vincent> I'd like to suggest a small feature to the script
Vincent> tnm/library/snmp.tcl...

[snip]

Vincent> The first line tells us the agent host and time. I'd
Vincent> *really* like to see the port #, too.

Vincent> To do that, we just need to change one line in the script
Vincent> tnm/library/snmp.tcl from writeln "$host \[$ip\] \[[clock
Vincent> format [clock seconds]]\]:" to writeln "$host \[$ip:$port\]
Vincent> \[[clock format [clock seconds]]\]:" where $port is obtained
Vincent> with set port [$s cget -port]

I think the change makes sense. It will show up in the next patch.
However, you have to change more than one line...

Juergen

Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.