emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp/net tramp.el


From: Michael Albinus
Subject: [Emacs-diffs] emacs/lisp/net tramp.el
Date: Mon, 19 Jan 2009 06:51:56 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Michael Albinus <albinus>       09/01/19 06:51:56

Modified files:
        lisp/net       : tramp.el 

Log message:
        * net/tramp.el (tramp-ipv6-regexp): The regexp shall cover also
        IPv4 mapped IPv6 addresses.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/net/tramp.el?cvsroot=emacs&r1=1.225&r2=1.226

Patches:
Index: tramp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/tramp.el,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -b -r1.225 -r1.226
--- tramp.el    9 Jan 2009 08:13:44 -0000       1.225
+++ tramp.el    19 Jan 2009 06:51:55 -0000      1.226
@@ -1213,9 +1213,11 @@
   "*Regexp matching left hand side of IPv6 addresses.
 Derived from `tramp-prefix-ipv6-format'.")
 
-;; The following regexp is a bit sloppy.  But it shall serve our purposes.
+;; The following regexp is a bit sloppy.  But it shall serve our
+;; purposes.  It covers also IPv4 mapped IPv6 addresses, like in
+;; "::ffff:192.168.0.1".
 (defconst tramp-ipv6-regexp
-  "\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9]+"
+  "\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+"
   "*Regexp matching IPv6 addresses.")
 
 (defconst tramp-postfix-ipv6-format




reply via email to

[Prev in Thread] Current Thread [Next in Thread]