diff options
-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 } |