/[smecontribs]/rpms/smeserver-denyhosts/contribs9/smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch
ViewVC logotype

Annotation of /rpms/smeserver-denyhosts/contribs9/smeserver-denyhosts-2.9-bz10076-wrongIPremovedfromWL.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Feb 6 17:01:42 2017 UTC (7 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-denyhosts-2_9-11_el6_sme, smeserver-denyhosts-2_9-9_el6_sme, smeserver-denyhosts-2_9-7_el6_sme, smeserver-denyhosts-2_9-8_el6_sme, smeserver-denyhosts-2_9-10_el6_sme, HEAD
* Mon Feb 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.9-7.sme
- fix removing from whitelist does not remove the desired IP but a random one [SME: 10076]

1 unnilennium 1.1 diff -Nur smeserver-denyhosts-2.9.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/denyhosts.pm smeserver-denyhosts-2.9/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/denyhosts.pm
2     --- smeserver-denyhosts-2.9.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/denyhosts.pm 2012-06-03 12:11:23.000000000 -0400
3     +++ smeserver-denyhosts-2.9/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/denyhosts.pm 2017-02-06 11:58:48.289000000 -0500
4     @@ -85,10 +85,10 @@
5     print $q->Tr(
6     esmith::cgi::genSmallCell($q, $self->localise('IP_ADDRESS'),"header"),
7     esmith::cgi::genSmallCell($q, $self->localise('REMOVE'),"header"));
8     -
9     + my @vals_sorted= sort ip_sort @vals;
10     my @cbGroup = $q->checkbox_group(-name => 'validFromRemove',
11     - -values => [@vals], -labels => { map {$_ => ''} @vals });
12     - foreach my $val (sort ip_sort @vals)
13     + -values => [@vals_sorted], -labels => { map {$_ => ''} @vals_sorted });
14     + foreach my $val (@vals_sorted)
15     {
16     print $q->Tr(
17     esmith::cgi::genSmallCell($q, $val, "normal"),

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed