dhclient-script: added missing quotation marks

This commit is contained in:
Jiri Popelka 2010-12-23 15:50:49 +01:00
parent 7a66932b50
commit 5d3b86d844

View File

@ -389,7 +389,7 @@ dhconfig() {
unset IFS unset IFS
((pads=4-${#target_arr[@]})) ((pads=4-${#target_arr[@]}))
for j in $(seq $pads); do for j in $(seq $pads); do
target=${target}".0" target="${target}.0"
done done
# Client MUST zero any bits in the subnet number where the corresponding bit in the mask is zero. # Client MUST zero any bits in the subnet number where the corresponding bit in the mask is zero.
@ -557,8 +557,8 @@ add_ipv6_addr_with_DAD() {
} }
dh6config() { dh6config() {
if [ -n ${old_ip6_prefix} ] || if [ -n "${old_ip6_prefix}" ] ||
[ -n ${new_ip6_prefix} ]; then [ -n "${new_ip6_prefix}" ]; then
echo Prefix ${reason} old=${old_ip6_prefix} new=${new_ip6_prefix} echo Prefix ${reason} old=${old_ip6_prefix} new=${new_ip6_prefix}
exit_with_hooks 0 exit_with_hooks 0
fi fi