diff options
author | Than Ngo <than@redhat.com> | 2001-08-27 10:18:12 +0000 |
---|---|---|
committer | Than Ngo <than@redhat.com> | 2001-08-27 10:18:12 +0000 |
commit | ed17c1a0b52c5bc9474ccbf63d90b9f101b3cf7f (patch) | |
tree | 90174753cc815922b81fa9aa498090201f7dde50 | |
parent | d7c57c948538fc700618a323876748aff80a4737 (diff) | |
download | initscripts-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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | initscripts.spec | 5 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-ippp | 10 |
3 files changed, 13 insertions, 6 deletions
@@ -1,3 +1,7 @@ +2001-07-27 Than Ngo <than@redhat.com> + * sysconfig/network-scripts/ifup-ippp + fix some typo bugs in ifup-ippp <ubeck@c3pdm.com> + 2001-08-24 Bill Nottingham <notting@redhat.com> * ChangeLog, initscripts.spec: 6.27-1 diff --git a/initscripts.spec b/initscripts.spec index 320328aa..c8113044 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.27 +Version: 6.28 License: GPL Group: System Environment/Base Release: 1 @@ -239,6 +239,9 @@ rm -rf $RPM_BUILD_ROOT %dir /etc/locale/*/LC_MESSAGES %changelog +* Mon Aug 27 2001 Than Ngo <than@redhat.com> +- fix some typo bugs in ifup-ippp <ubeck@c3pdm.com> + * Fri Aug 24 2001 Bill Nottingham <notting@redhat.com> - sort output of halt_get_remaining (#52180) - fix bad translation (#52503) 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 } |