From: Christian Schmidt Date: Fri, 10 Dec 2010 11:10:47 +0000 (+0100) Subject: Fixed a bug in the outgoingfw where preselected groups where not X-Git-Tag: v2.9-beta1~11^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98c474a4aa6802cc07088eafb60eb47a8b315d10;p=people%2Fstevee%2Fipfire-2.x.git Fixed a bug in the outgoingfw where preselected groups where not set if you edit a rule. --- diff --git a/config/rootfiles/core/44/filelists/files b/config/rootfiles/core/44/filelists/files index de75056e41..866acf0bcf 100644 --- a/config/rootfiles/core/44/filelists/files +++ b/config/rootfiles/core/44/filelists/files @@ -12,6 +12,7 @@ srv/web/ipfire/cgi-bin/proxy.cgi srv/web/ipfire/cgi-bin/speed.cgi srv/web/ipfire/cgi-bin/vpnmain.cgi srv/web/ipfire/cgi-bin/ids.cgi +srv/web/ipfire/cgi-bin/outgoingfw.cgi srv/web/ipfire/cgi-bin/pppsetup.cgi srv/web/ipfire/html/images/urlfilter/copy.gif var/ipfire/general-functions.pl diff --git a/html/cgi-bin/outgoingfw.cgi b/html/cgi-bin/outgoingfw.cgi index a15b243c05..295bde477c 100644 --- a/html/cgi-bin/outgoingfw.cgi +++ b/html/cgi-bin/outgoingfw.cgi @@ -699,7 +699,8 @@ END ; my @ipgroups = qx(ls $configpath/ipgroups/); foreach (sort @ipgroups){ - print "\t\t\t\t\t\n"; + chomp($_); + print "\t\t\t\t\t\n"; } print < @@ -708,7 +709,8 @@ END ; my @macgroups = qx(ls $configpath/macgroups/); foreach (sort @macgroups){ - print "\t\t\t\t\t\n"; + chomp($_); + print "\t\t\t\t\t\n"; } print < @@ -844,4 +846,4 @@ END } &Header::closebigbox(); -&Header::closepage(); \ No newline at end of file +&Header::closepage();