aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--initscripts.spec3
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp3
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d8a67862..7dbec001 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-02 Than Ngo <than@redhat.com>
+ * sysconfig/network-scripts/ifup-ippp
+ fixed typo bug ifup-ippp
+
2001-10-29 Than Ngo <than@redhat.com>
* sysconfig/network-scripts/ifup-ippp
fix bug in channel bundling if MSN is missed
diff --git a/initscripts.spec b/initscripts.spec
index d10ee6b4..bf4f6ea5 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -240,6 +240,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/locale/*/LC_MESSAGES
%changelog
+* Fri Nov 2 2001 Than Ngo <than@redhat.com>
+- fixed typo bug ifup-ippp
+
* Mon Oct 29 2001 Than Ngo <than@redhat.com>
- fix bug in channel bundling if MSN is missed
- support DEBUG option
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index de314e58..2f715796 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -309,7 +309,8 @@ function addprovider()
if [ -z "$DNS1" -a -z "$DNS2" ]; then
options="$options ms-get-dns"
else
- options="$options ms-dns $DNS1 $DNS2"
+ [ -n "$DNS1" ] && options="$options ms-dns $DNS1"
+ [ -n "$DNS2" ] && options="$options ms-dns $DNS2"
fi
# set debug