Ensuring ip addr parsing works on both smartos and ubuntu ifconfig autput