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

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

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 19:12:55 2008 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

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