aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-09-03 11:43:26 +0000
committerThan Ngo <than@redhat.com>2001-09-03 11:43:26 +0000
commit51d26960c3c46284d77c0db2d0003a5400c18120 (patch)
tree3fe9ec75d99578f0fed9c6601e7fc26f288611ef /sysconfig
parentaf921a7d09f6e948b706d767d93cf4396aa4f815 (diff)
downloadinitscripts-r6-35.tar
initscripts-r6-35.tar.gz
initscripts-r6-35.tar.bz2
initscripts-r6-35.tar.xz
initscripts-r6-35.zip
* fix typo bug in IPADRR and GATEWAYr6-35
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index 3fc9477b..14cc514b 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -104,8 +104,8 @@ function addprovider()
[ -z "$L3_PROT" ] && L3_PROT="trans"
# check local/remote IP
- [ -z "$IPADDR" ] && IPADDR="10.112.112.112"
- [ -z "$GATEWAY" ] && GATEWAY="10.112.112.113"
+ [ -z "$IPADDR" ] && IPADDR="0.0.0.0"
+ [ -z "$GATEWAY" ] && GATEWAY="0.0.0.0"
# set default route
[ "$DEFROUTE" = "yes" ] && options="$options deldefaultroute"
@@ -182,7 +182,7 @@ function addprovider()
options="$options ipparam $DEVICE"
log_isdnctrl pppbind $DEVICE
- if [ "$IPADDR" = "10.112.112.112" ]; then
+ if [ "$IPADDR" = "0.0.0.0" ]; then
options="$options ipcp-accept-local"
else
options="$options noipdefault"
@@ -252,7 +252,7 @@ function addprovider()
[ -n "$SLAVE_TRIGGER" ] && log_isdnctrl trigger $DEVICE $SLAVE_TRIGGER
fi
- if [ "$GATEWAY" = "10.112.112.113" ]; then
+ if [ "$GATEWAY" = "0.0.0.0" ]; then
options="$options ipcp-accept-remote"
options="$IPADDR:$GATEWAY $options"
else
@@ -339,7 +339,7 @@ function addprovider()
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
if [ "$DEFROUTE" = "yes" ] ; then
route del default >/dev/null 2>&1
- if [ "$GATEWAY" = "10.112.112.113" ]; then
+ if [ "$GATEWAY" = "0.0.0.0" ]; then
route add default $DEVICE >/dev/null 2>&1
else
route add default gw $GATEWAY >/dev/null 2>&1