Changing method to get iface name