convert-portfw: Fix converting aliases.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Apr 2014 15:08:17 +0000 (17:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Apr 2014 15:08:17 +0000 (17:08 +0200)
ALL is not suitable as it is not a valid configuration value.

config/firewall/convert-portfw

index fedddee..8660e7c 100755 (executable)
@@ -105,7 +105,7 @@ sub build_rules
                }
                #get ipfire ip
                if($alias eq '0.0.0.0'){
-                       $alias='ALL';
+                       $alias='Default IP';
                }else{
                        foreach my $ali (@alias){
                                my ($alias_ip,$alias_active,$alias_name) = split (",",$ali);