Change the way displaying interfaces of net and make it more readable

Fix showing interfaces of net problem when running configure cmd in a computer where more than one interfaces exist.