aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ippp
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 /sysconfig/network-scripts/ifup-ippp
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
Diffstat (limited to 'sysconfig/network-scripts/ifup-ippp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp5
1 files changed, 1 insertions, 4 deletions
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"