/[smeserver]/rpms/e-smith-domains/sme8/e-smith-domains-1.4.0-delete_forwarder.patch
ViewVC logotype

Contents of /rpms/e-smith-domains/sme8/e-smith-domains-1.4.0-delete_forwarder.patch

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


Revision 1.2 - (show 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
Error occurred while calculating annotation data.
FILE REMOVED
New streams

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 2006-03-15 16:33:24.000000000 -0500
3 +++ mezzanine_patched_e-smith-domains-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/domains.pm 2007-10-16 16:45:33.000000000 -0400
4 @@ -310,8 +310,14 @@
5 ($forwarder, $forwarder2) = ($forwarder2, '')
6 if ($forwarder2 and not $forwarder);
7
8 - $db->set_prop('dnscache', 'Forwarder', $forwarder);
9 - $db->set_prop('dnscache', 'Forwarder2', $forwarder2);
10 + if ($forwarder)
11 + $db->set_prop('dnscache', 'Forwarder', $forwarder);
12 + else
13 + $db->delete_prop('dnscache', 'Forwarder');
14 + if ($forwarder2)
15 + $db->set_prop('dnscache', 'Forwarder2', $forwarder2);
16 + else
17 + $db->delete_prop('dnscache', 'Forwarder2');
18
19 unless ( system( "/sbin/e-smith/signal-event", "dns-update" ) == 0 )
20 {

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