SkuldNorniern / fluere

Fluere is a powerful and versatile tool designed for network monitoring and analysis. It is capable of capturing network packets in pcap format and converting them into NetFlow data, providing a comprehensive view of network traffic. It also Provides Terminal User Interface.
Apache License 2.0
37 stars 3 forks source link

Optimize and modularize code in live_fluereflow.rs #51

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR aims to optimize and modularize the code in live_fluereflow.rs for better maintainability and readability. The current code is quite long and complex, making it difficult to understand and modify. By breaking down the packet_capture function into smaller functions and extracting repeated code blocks, we can improve code organization and reduce redundancy. Additionally, proper error handling is implemented to replace the use of unwrap().

Summary of Changes

Fixes #47.


To checkout this PR branch, run the following command in your terminal:

git checkout {pull_request.branch_name}

🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can: