Skip to content

Commit

Permalink
COLORS update
Browse files Browse the repository at this point in the history
- added packets structs
- add styled rendering packet logs that's more readable
  • Loading branch information
Chleba committed Mar 11, 2024
1 parent cd1f1f3 commit 133a94c
Show file tree
Hide file tree
Showing 3 changed files with 283 additions and 152 deletions.
4 changes: 2 additions & 2 deletions src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::{fmt, net::Ipv4Addr};

use crate::{
components::{packetdump::ArpPacketData, wifi_scan::WifiInfo},
enums::PacketTypeEnum,
enums::{PacketTypeEnum, PacketsInfoTypesEnum},
mode::Mode,
};

Expand Down Expand Up @@ -42,7 +42,7 @@ pub enum Action {
PingIp(String),
CountIp,
CidrError,
PacketDump(DateTime<Local>, String, PacketTypeEnum),
PacketDump(DateTime<Local>, PacketsInfoTypesEnum, PacketTypeEnum),
}

impl<'de> Deserialize<'de> for Action {
Expand Down
Loading

0 comments on commit 133a94c

Please sign in to comment.