/[smeserver]/rpms/e-smith-pptpd/sme7/e-smith-pptpd-1.12.0-emptyinter.patch
ViewVC logotype

Annotation of /rpms/e-smith-pptpd/sme7/e-smith-pptpd-1.12.0-emptyinter.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 15:59:48 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-pptpd-1_12_0-13_el4_sme, e-smith-pptpd-1_12_0-10_el4_sme, e-smith-pptpd-1_12_0-12_el4_sme, e-smith-pptpd-1_12_0-11_el4_sme
Import on branch sme7 of package e-smith-pptpd-1.12.0-10.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/pptp-interface-access mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/pptp-interface-access
2     --- e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/pptp-interface-access 2003-05-01 11:10:33.000000000 -0600
3     +++ mezzanine_patched_e-smith-pptpd-1.12.0/root/etc/e-smith/events/actions/pptp-interface-access 2007-01-14 20:57:38.000000000 -0700
4     @@ -33,11 +33,7 @@
5    
6     my $db = esmith::ConfigDB->open;
7     my $pptpd = $db->get('pptpd');
8     -my %ifaces = ();
9     -foreach my $interface (split /,/, $pptpd->prop('Interfaces'))
10     -{
11     - $ifaces{$interface} = 1;
12     -}
13     +my %ifaces = map { $_ => 1 } split /,/, $pptpd->prop('Interfaces') || '';
14    
15     my $event = $ARGV[0] || die "Event name must be given\n";
16     my $ipparam = $ARGV[6] || "(none)";

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