Pārlūkot izejas kodu

remove 802.1x field

Roman Dmitriev 2 gadi atpakaļ
vecāks
revīzija
e808a01c6b
2 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. 0 1
      scripts/print-dnsmasq.pl
  2. 0 1
      updates/2-4-14/user_auth.sql

+ 0 - 1
scripts/print-dnsmasq.pl

@@ -72,7 +72,6 @@ next if (!$dhcp_networks->match_string($row->{ip}));
 next if (!$row->{mac});
 next if (!$row->{ip});
 if (exists $static_hole{$row->{ip}}) { $static_hole{$row->{ip}}{skip}=1; }
-#print '#'.$row->{comments}."\n" if ($row->{comments});
 print '#Comment:'.$row->{comments}."\n" if ($row->{comments});
 print '#DNS:'.$row->{dns_name}."\n" if ($row->{dns_name});
 print 'dhcp-host='.$row->{mac}.', '.$row->{ip}."\n";

+ 0 - 1
updates/2-4-14/user_auth.sql

@@ -1,4 +1,3 @@
 ALTER TABLE `User_auth` CHANGE `dhcp_changed` `dhcp_changed` INT(11) NOT NULL DEFAULT '0';
 ALTER TABLE `User_auth` CHANGE `dns_name` `dns_name` VARCHAR(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL;
 ALTER TABLE `User_auth` ADD `subnet_id` INT NULL DEFAULT NULL AFTER `ip_int`;
-ALTER TABLE `User_auth` ADD `802_1x` INT NOT NULL DEFAULT '0' AFTER `enabled`;