aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2002-06-05 09:50:52 +0000
committerThan Ngo <than@redhat.com>2002-06-05 09:50:52 +0000
commit885552f95d8b1b138cf97bbf499a78801af3a676 (patch)
treef35d10d8d7ac4af22b842a8499b77761d32cc9f1
parent6c074ca4cb504f0a5f84eadeedd132e94309b865 (diff)
downloadinitscripts-885552f95d8b1b138cf97bbf499a78801af3a676.tar
initscripts-885552f95d8b1b138cf97bbf499a78801af3a676.tar.gz
initscripts-885552f95d8b1b138cf97bbf499a78801af3a676.tar.bz2
initscripts-885552f95d8b1b138cf97bbf499a78801af3a676.tar.xz
initscripts-885552f95d8b1b138cf97bbf499a78801af3a676.zip
* fixed a bug in setting defaultgateway
-rw-r--r--initscripts.spec5
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp5
2 files changed, 5 insertions, 5 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 9b4cfdff..a892c434 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 6.76
+Version: 6.77
License: GPL
Group: System Environment/Base
Release: 1
@@ -244,6 +244,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/locale/*/LC_MESSAGES
%changelog
+* Wed Jun 05 2002 Than Ngo <than@redhat.com> 6.77-1
+- fixed a bug in setting defaultgateway
+
* Thu May 30 2002 Bill Nottingham <notting@redhat.com> 6.76-1
- call unicode_start in lang.{sh,csh}, setsysfont when necessary
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index 4ddf67c9..c30abfc8 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -107,7 +107,7 @@ function addprovider()
[ -z "$GATEWAY" ] && GATEWAY="0.0.0.0"
# set default route
- [ "$DEFROUTE" = "yes" ] && options="$options deldefaultroute"
+ [ "$DEFROUTE" = "yes" ] && options="$options defaultroute deldefaultroute"
# set authentication
_auth=`echo "$AUTH" | sed 's/[a-z -]*//g'`
@@ -256,9 +256,6 @@ function addprovider()
options="$options $IPADDR:$GATEWAY"
fi
- # Add default route while connection
- options="$options defaultroute"
-
# Van Jacobson style TCP/IP header compression and
# VJ connection-ID compression
[ "$VJ" = "off" ] && options="$options -vj"