Display selected host with brackets in title bar
All checks were successful
Build and Release / build-and-release (push) Successful in 1m25s

- Change nftables port labels to lowercase 'wan tcp:' and 'wan udp:'
- Add brackets around selected host in title bar for clarity
This commit is contained in:
2025-12-04 18:47:30 +01:00
parent 2863526ec8
commit 41e1be451e
6 changed files with 23 additions and 9 deletions

View File

@@ -186,7 +186,7 @@ impl SystemdCollector {
if !tcp_ports.is_empty() {
let metrics = Vec::new();
sub_services.push(SubServiceData {
name: format!("TCP: {}", tcp_ports),
name: format!("wan tcp: {}", tcp_ports),
service_status: Status::Info,
metrics,
service_type: "firewall_port".to_string(),
@@ -196,7 +196,7 @@ impl SystemdCollector {
if !udp_ports.is_empty() {
let metrics = Vec::new();
sub_services.push(SubServiceData {
name: format!("UDP: {}", udp_ports),
name: format!("wan udp: {}", udp_ports),
service_status: Status::Info,
metrics,
service_type: "firewall_port".to_string(),