From a8ccb45cb78acf76e7d9518254f5d363605fc823 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Wed, 20 Nov 2013 14:28:42 +0100 Subject: [PATCH] Firewall: Fixed xtaccess converter. The protocol in the old rules are now converted correctly --- config/firewall/convert-xtaccess | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5