From: Alexander Marx Date: Wed, 20 Nov 2013 13:28:42 +0000 (+0100) Subject: Firewall: Fixed xtaccess converter. The protocol in the old rules are now converted... X-Git-Tag: v2.15-beta1~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8ccb45cb78acf76e7d9518254f5d363605fc823;p=people%2Fms%2Fipfire-2.x.git Firewall: Fixed xtaccess converter. The protocol in the old rules are now converted correctly --- diff --git a/config/firewall/convert-xtaccess b/config/firewall/convert-xtaccess index e04ab6df51..363af7af73 100755 --- a/config/firewall/convert-xtaccess +++ b/config/firewall/convert-xtaccess @@ -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;