summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-18 19:01:24 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-18 19:01:24 +0000
commit224243b8173b9a75b45072ee81f97601fba83d3c (patch)
tree2f36a427c54e6555211e851f77bcf3ad2cd2f8cc
parentadb7506a58b0b0e3af0755c99d978632991b062a (diff)
downloadbrdo-224243b8173b9a75b45072ee81f97601fba83d3c.tar.gz
brdo-224243b8173b9a75b45072ee81f97601fba83d3c.tar.bz2
- Patch #475140 by anarcat: make sure Drupal provides support for IPv6.
-rw-r--r--modules/system/system.install9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 5b34152e6..32eb9eb1a 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -534,7 +534,7 @@ function system_schema() {
'ip' => array(
'description' => 'IP address',
'type' => 'varchar',
- 'length' => 32,
+ 'length' => 40,
'not null' => TRUE,
'default' => '',
),
@@ -2388,6 +2388,13 @@ function system_update_7050() {
}
/**
+ * make the IP field IPv6 compatible
+ */
+function system_update_7051() {
+ db_change_field('blocked_ips', 'ip', 'ip', array('description' => 'IP address', 'type' => 'varchar', 'length' => 40, 'not null' => TRUE, 'default' => ''));
+}
+
+/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
*/