/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-4.18.0-gatewaydev.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme7/e-smith-base-4.18.0-gatewaydev.patch

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


Revision 1.2 - (show annotations) (download)
Wed Mar 26 17:01:38 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 4.18.1-2
- Fix gettext strings returned by password checks [SME: 4104]

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/templates/etc/sysconfig/network/40GATEWAYDEV mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/sysconfig/network/40GATEWAYDEV
2 --- e-smith-base-4.18.0/root/etc/e-smith/templates/etc/sysconfig/network/40GATEWAYDEV 2005-11-20 21:28:08.000000000 -0700
3 +++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/templates/etc/sysconfig/net40GATEWAYDEV 2007-01-30 16:16:44.000000000 -0700
4 @@ -1,5 +1,8 @@
5 {
6 - return "" unless (defined $ExternalInterface);
7 + return "" unless (defined $ExternalInterface && defined $GatewayIP);
8
9 - return "GATEWAYDEV=$ExternalInterface{Name}";
10 + my $dev = ($ExternalInterface{Configuration} eq 'disabled') ?
11 + $InternalInterface{Name} :
12 + $ExternalInterface{Name};
13 + return "GATEWAYDEV=$dev";
14 }

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