make the IP field IPv6 compatible

Related topics

File

modules/system/system.install, line 2534
Install, update and uninstall functions for the system module.

Code

function system_update_7051() {
  db_change_field('blocked_ips', 'ip', 'ip', array(
    'description' => 'IP address',
    'type' => 'varchar',
    'length' => 40,
    'not null' => TRUE,
    'default' => '',
  ));
}