aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-08-27 10:18:12 +0000
committerThan Ngo <than@redhat.com>2001-08-27 10:18:12 +0000
commited17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f (patch)
tree90174753cc815922b81fa9aa498090201f7dde50 /sysconfig/network-scripts
parentd7c57c948538fc700618a323876748aff80a4737 (diff)
downloadinitscripts-ed17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f.tar
initscripts-ed17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f.tar.gz
initscripts-ed17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f.tar.bz2
initscripts-ed17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f.tar.xz
initscripts-ed17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f.zip
- fix some typo bugs in ifup-ippp <ubeck@c3pdm.com>r6-28
Diffstat (limited to 'sysconfig/network-scripts')
-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 89ae25cc..ad38ff04 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -50,12 +50,12 @@ isdnctrl list $DEVICE >/dev/null 2>&1 && exit 0
function log_echo()
{
- logger -p daemon.info -t ifup-ppp $"$*"
+ logger -p daemon.info -t ifup-ippp $"$*"
}
function log_isdnctrl()
{
- logger -p daemon.info -t ifup-ppp isdnctrl $*
+ logger -p daemon.info -t ifup-ippp isdnctrl $*
isdnctrl $* >/dev/null 2>&1 || exit 1
}
@@ -251,7 +251,7 @@ function addprovider()
options="$options ipcp-accept-remote"
options="$IPADDR:$GATEWAY $options"
else
- options="$options $GATEWAY:$IPADDR"
+ options="$options $IPADDR:$GATEWAY"
fi
# Add default route while connection
@@ -316,10 +316,10 @@ function addprovider()
if [ "$DIALMODE" = "auto" ]; then
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
route del default >/dev/null 2>&1
- if [ "$REMOTE_IP" = "0.0.0.0" ]; then
+ if [ "$GATEWAY" = "0.0.0.0" ]; then
route add default $DEVICE >/dev/null 2>&1
else
- route add default gw $REMOTE_IP >/dev/null 2>&1
+ route add default gw $GATEWAY >/dev/null 2>&1
fi
fi
}