From 0261914cdabbbf57dfc9aaded344066988793732 Mon Sep 17 00:00:00 2001 From: Trevor Merritt Date: Mon, 28 Apr 2025 15:48:24 -0400 Subject: [PATCH] Updates label for VPN endpoints and added more hosts to check --- peterborough.txt | 12 ++++++++---- src/tui/mode_monitoring.rs | 3 +-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/peterborough.txt b/peterborough.txt index 8253f40..9485a1e 100644 --- a/peterborough.txt +++ b/peterborough.txt @@ -1,14 +1,18 @@ address,name 10.3.100.1,Belleville Gateway -10.11.31.3,Belleville VPN 11-31 -10.12.32.1,Belleville VPN 12-32 +10.11.31.1,Belleville VPN 11-31 (P) +10.11.31.3,Belleville VPN 11-31 (B) +10.12.32.1,Belleville VPN 12-32 (P) +10.12.32.3,Belleville VPN 12-32 (B) 192.186.110.6,Belleville Cogeco 129.222.197.36,Belleville Starlink 10.2.100.1,Lindsay Gateway 24.143.184.98,Lindsay Cogeco 192.168.1.50,Lindsay Sign -10.11.21.1,Lindsay VPN 11-21 -10.12.22.1,Lindsay VPN 11-22 +10.11.21.1,Lindsay VPN 11-21 (P) +10.11.21.2,Lindsay VPN 11-21 (L) +10.11.21.1,Lindsay VPN 11-22 (P) +10.12.22.2,Lindsay VPN 11-22 (L) 8.8.8.8,Google DNS 1.1.1.1,1111 DNS 192.168.0.1,Peterborough Gateway diff --git a/src/tui/mode_monitoring.rs b/src/tui/mode_monitoring.rs index 7e3dcf2..a03156c 100644 --- a/src/tui/mode_monitoring.rs +++ b/src/tui/mode_monitoring.rs @@ -6,9 +6,8 @@ use ratatui::prelude::*; use ratatui::widgets::{Block, Borders, Cell, List, ListItem, ListState, Paragraph, Row, Table, TableState}; use ratatui::Frame; use std::time::{Duration, SystemTime}; -use ratatui::layout::Direction::Vertical; use crate::tui::ratatui_app::RatatuiApp; -use crate::tui::ratatui_screens::RatatuiScreens::{Deleting, Editing, Exiting}; +use crate::tui::ratatui_screens::RatatuiScreens::Exiting; pub struct RatatuiMonitoringMode {}