/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-ip_route_syntax.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-ip_route_syntax.patch

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


Revision 1.2 - (show annotations) (download)
Sun Jun 6 20:38:49 2021 UTC (3 years ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
5.8.1

1 diff -Nur e-smith-base-5.8.0/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes e-smith-base-5.8.0_bz10083/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes
2 --- e-smith-base-5.8.0/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes 2007-01-19 22:33:20.000000000 +0100
3 +++ e-smith-base-5.8.0_bz10083/root/etc/e-smith/templates/etc/sysconfig/network-scripts/route-ethX/10localroutes 2017-02-09 12:16:16.303385445 +0100
4 @@ -20,7 +20,6 @@
5 return "# template expansion error - Could not open networks db\n";
6 }
7
8 - my $index = 0;
9 foreach my $network ($db->networks)
10 {
11 # Skip local network
12 @@ -34,10 +33,7 @@
13
14 my $netmask = $network->prop('Mask');
15 my $net = $network->key;
16 - $OUT .= "ADDRESS$index=$net\n";
17 - $OUT .= "NETMASK$index=$netmask\n";
18 - $OUT .= "GATEWAY$index=$router\n";
19 - $index++;
20 + $OUT .= $net . '/' . $netmask . ' via ' . $router . "\n";
21 }
22 }
23

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