diff options
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ippp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |