]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Firewall: Fixed xtaccess converter. The protocol in the old rules are now converted...
authorAlexander Marx <amarx@ipfire.org>
Wed, 20 Nov 2013 13:28:42 +0000 (14:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Nov 2013 20:08:24 +0000 (21:08 +0100)
config/firewall/convert-xtaccess

index e04ab6df516fe02b5648af6f9d9dd44a95b9f1f2..363af7af737867df9b4417646973eee57a9b9ac9 100755 (executable)
@@ -113,12 +113,12 @@ foreach my $line (@current){
        $configinputfw{$key}[5] = $field5;
        $configinputfw{$key}[6] = $field6;
        $configinputfw{$key}[7] = '';
-       $configinputfw{$key}[8] = '';
+       $configinputfw{$key}[8] = $field12;
        $configinputfw{$key}[9] = '';
        $configinputfw{$key}[10] = '';
        $configinputfw{$key}[11] = $field11;
-       $configinputfw{$key}[12] = $field12;
-       $configinputfw{$key}[13] = $field13;
+       $configinputfw{$key}[12] = '';
+       $configinputfw{$key}[13] = '';
        $configinputfw{$key}[14] = $field14;
        $configinputfw{$key}[15] = $field15;
        $configinputfw{$key}[16] = $field16;