From 7a1682f7a517485bba7fcb0cfe8bb1c3d048de16 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 8 Apr 2007 01:41:41 +0000 Subject: [PATCH] *fix ipv6 prefix consistency --- includes/IP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.20.1