aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-11-02 17:11:23 +0000
committerThan Ngo <than@redhat.com>2001-11-02 17:11:23 +0000
commit89e18426fc1ea9152d1a5e2aa474a92db7ab34da (patch)
tree54a16609db97cb852e601ac3abbaf2e50c030109
parent4826b887874b50dec78c28716a85b74b30140180 (diff)
downloadinitscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar.gz
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar.bz2
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.tar.xz
initscripts-89e18426fc1ea9152d1a5e2aa474a92db7ab34da.zip
fixed typo bug ifup-ippp
-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