/[smeserver]/rpms/e-smith-domains/sme7/e-smith-domains-1.4.0-delete_forwarder.patch3
ViewVC logotype

Annotation of /rpms/e-smith-domains/sme7/e-smith-domains-1.4.0-delete_forwarder.patch3

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 18:03:02 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-domains-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/domains.pm mezzanine_patched_e-smith-domains-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/domains.pm
2     --- e-smith-domains-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/domains.pm 2007-10-26 18:45:51.000000000 -0400
3     +++ mezzanine_patched_e-smith-domains-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/domains.pm 2007-10-26 18:45:37.000000000 -0400
4     @@ -306,25 +306,26 @@
5    
6     my $forwarder = $q->param('Forwarder') || '';
7     my $forwarder2 = $q->param('Forwarder2') || '';
8     + my $dnscache = $db->get('dnscache');
9    
10     ($forwarder, $forwarder2) = ($forwarder2, '')
11     if ($forwarder2 and not $forwarder);
12    
13     if ($forwarder)
14     {
15     - $db->set_prop('dnscache', 'Forwarder', $forwarder);
16     + $dnscache->set_prop('Forwarder', $forwarder);
17     }
18     else
19     {
20     - $db->delete_prop('dnscache', 'Forwarder');
21     + $dnscache->delete_prop('Forwarder');
22     }
23     if ($forwarder2)
24     {
25     - $db->set_prop('dnscache', 'Forwarder2', $forwarder2);
26     + $dnscache->set_prop('Forwarder2', $forwarder2);
27     }
28     else
29     {
30     - $db->delete_prop('dnscache', 'Forwarder2');
31     + $dnscache->delete_prop('Forwarder2');
32     }
33    
34     unless ( system( "/sbin/e-smith/signal-event", "dns-update" ) == 0 )

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