Окунев Дмитрий Юрьевич

[IPW_FAST=0] Fixed a config parser bug with IFS=""

Reported by: Artjom A Anikeev <anikeev@ut.mephi.ru>
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -148,8 +148,8 @@ if [[ "$IPW_FAST" -ne '0' ]]; then
[[ "${WORDS[2]}" = 'inet' ]]
IFACE_DETAILS["${WORDS[1]}-primary-ipv4address"]="${WORDS[3]}"
done
IFS="$oldIFS"
fi
IFS="$oldIFS"
ip_cmds() {
_IFACE="$1"; shift
... ...