Commit 7a62b126 authored by Till Brehm's avatar Till Brehm

Fixed #5070 Firewall > Character not allowed in tcp port definition

parent 8c08db9b
......@@ -80,4 +80,6 @@ INSERT IGNORE INTO `dns_ssl_ca` (`id`, `sys_userid`, `sys_groupid`, `sys_perm_us
ALTER TABLE `dns_soa` CHANGE `xfer` `xfer` TEXT NULL;
ALTER TABLE `dns_soa` CHANGE `also_notify` `also_notify` TEXT NULL;
ALTER TABLE `dns_slave` CHANGE `xfer` `xfer` TEXT NULL;
\ No newline at end of file
ALTER TABLE `dns_slave` CHANGE `xfer` `xfer` TEXT NULL;
ALTER TABLE `firewall` CHANGE `tcp_port` `tcp_port` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
ALTER TABLE `firewall` CHANGE `udp_port` `udp_port` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
\ No newline at end of file
......@@ -682,8 +682,8 @@ CREATE TABLE `firewall` (
`sys_perm_group` varchar(5) default NULL,
`sys_perm_other` varchar(5) default NULL,
`server_id` int(11) unsigned NOT NULL default '0',
`tcp_port` varchar(255) default NULL,
`udp_port` varchar(255) default NULL,
`tcp_port` text,
`udp_port` text,
`active` enum('n','y') NOT NULL default 'y',
PRIMARY KEY (`firewall_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment