From: Aaron Schulz Date: Sun, 8 Apr 2007 01:41:41 +0000 (+0000) Subject: *fix ipv6 prefix consistency X-Git-Tag: 1.31.0-rc.0~53456 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/One?a=commitdiff_plain;h=7a1682f7a517485bba7fcb0cfe8bb1c3d048de16;p=lhc%2Fweb%2Fwiklou.git *fix ipv6 prefix consistency --- diff --git a/includes/IP.php b/includes/IP.php index 1d332996ab..fff9616107 100644 --- a/includes/IP.php +++ b/includes/IP.php @@ -197,7 +197,7 @@ class IP { # Convert to hex $end = wfBaseConvert( $end, 2, 16, 32, false ); # see toHex() comment - $start = "ipv6-$start"; $end = "ipv6-$end"; + $start = "v6-$start"; $end = "v6-$end"; } } elseif ( strpos( $range, '-' ) !== false ) { # Explicit range @@ -210,7 +210,7 @@ class IP { $end = wfBaseConvert( $end, 10, 16, 32, false ); } # see toHex() comment - $start = "ipv6-$start"; $end = "ipv6-$end"; + $start = "v6-$start"; $end = "v6-$end"; } else { # Single IP $start = $end = self::toHex( $range );