dhclient-script: added missing quotation marks
This commit is contained in:
parent
7a66932b50
commit
5d3b86d844
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user