Re: [tkined] ICMPv6 patch (2000/08/12 version)

From: Jun Kuriyama (kuriyama@imgsrc.co.jp)
Date: Tue Aug 15 2000 - 07:45:01 MET DST


At Fri, 11 Aug 2000 23:00:16 +0900,
kuriyama@imgsrc wrote:
> New patch is here:
>
> http://people.FreeBSD.org/~kuriyama/scotty-v6-20000812.diff.gz

In addition to above, I can use IPv6 address in "Check Reachability"
and "Round Trip Time" of "IP-Monitor" tool on tkined with this patch.

# Sorry, I tested this patch only Tcl/Tk 8.2 environment. :-)

Index: library.tcl
===================================================================
RCS file: /anoncvs/scotty/tkined/apps/library.tcl,v
retrieving revision 1.9
diff -u -r1.9 library.tcl
--- library.tcl 1999/07/05 14:55:30 1.9
+++ library.tcl 2000/08/15 05:42:39
@@ -669,9 +669,15 @@
         if {[regexp {^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$} $ip] > 0} {
             return $ip
         }
+ if {[regexp {^[0-9a-fA-F:]+$} $ip] > 0} {
+ return $ip
+ }
         if {[regexp {^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$} $host] > 0} {
             return $host
         }
+ if {[regexp {^[0-9a-fA-F:]+$} $host] > 0} {
+ return $host
+ }
         if {[catch {nslook $host} ip]==0} {
             return [lindex $ip 0]
         }

-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project
--
!! 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.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:52 MET