Drop unneeded line

The double line was a mistake apparently.
This commit is contained in:
Mikhail Efremov 2016-03-22 20:13:18 +03:00
parent 2f4b81a644
commit 60030e4bfc

View File

@ -369,7 +369,6 @@ read_iface_current_addresses()
{
local name="${1##*/}"
local p="${2:-4}" r=
local p="${2:-4}" r=
eval "r=\$__ipv${p}_network_re"
/sbin/ip -$p a s "$name" 2>/dev/null|sed -r -n "s,$r,\1,p"
}