cvs: pear /Net_IPv6 IPv6.php
| From: | Martin Jansen | Date: | Fri, 20 Jul 2001 20:51:51 +0000 |
| Subject: | cvs: pear /Net_IPv6 IPv6.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-304@lists.php.net to get a copy of this message | ||
mj Fri Jul 20 16:51:51 2001 EDT
Modified files:
/pear/Net_IPv6 IPv6.php
Log:
* some whitespace fixes
Index: pear/Net_IPv6/IPv6.php
diff -u pear/Net_IPv6/IPv6.php:1.1 pear/Net_IPv6/IPv6.php:1.2
--- pear/Net_IPv6/IPv6.php:1.1 Fri Jul 20 16:49:47 2001
+++ pear/Net_IPv6/IPv6.php Fri Jul 20 16:51:51 2001
@@ -16,14 +16,14 @@
// | Authors: Alexander Merz <alexander.merz@t-online.de> |
// +----------------------------------------------------------------------+
//
-// $Id: IPv6.php,v 1.1 2001/07/20 20:49:47 mj Exp $
+// $Id: IPv6.php,v 1.2 2001/07/20 20:51:51 mj Exp $
/**
* Class to validate and to work with IPv6
*
* @author Alexander Merz <alexander.merz@t-online.de>
* @package Net_IPv6
-* @version $Id: IPv6.php,v 1.1 2001/07/20 20:49:47 mj Exp $
+* @version $Id: IPv6.php,v 1.2 2001/07/20 20:51:51 mj Exp $
* @access public
*/
class Net_IPv6 {
@@ -37,14 +37,14 @@
* function expects an valid IPv6 adress and expands the '::' to
* the required zeros.
*
- * Example: FF01::101 -> FF01:0:0:0:0:0:0:101
- * ::1 -> 0:0:0:0:0:0:0:1
+ * Example: FF01::101 -> FF01:0:0:0:0:0:0:101
+ * ::1 -> 0:0:0:0:0:0:0:1
*
* @access public
* @see Compress()
* @static
- * @param string $ip a valid IPv6-adress
- * @return string the uncompressed IPv6-adress
+ * @param string $ip a valid IPv6-adress
+ * @return string the uncompressed IPv6-adress
*/
function Uncompress( $ip) {
if( strstr($ip, '::') ) {
@@ -83,7 +83,7 @@
* to '::'
*
* Example: FF01:0:0:0:0:0:0:101 -> FF01::101
- * 0:0:0:0:0:0:0:1 -> ::1
+ * 0:0:0:0:0:0:0:1 -> ::1
*
* @access public
* @see Uncompress()
@@ -138,7 +138,7 @@
* an IPv4 compatible adress
*
* Example: 0:0:0:0:0:0:13.1.68.3
- * 0:0:0:0:0:FFFF:129.144.52.38
+ * 0:0:0:0:0:FFFF:129.144.52.38
*
* @access public
* @static