From d27173a2b7ada8d0df9506ce4beb1ba9dae94950 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 20 Apr 2023 14:29:38 +0200 Subject: [PATCH] debug --- src/fw.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fw.rs b/src/fw.rs index 88aaa86..abb6e20 100644 --- a/src/fw.rs +++ b/src/fw.rs @@ -54,6 +54,7 @@ pub fn get_opened_ports(ipt: &iptables::IPTables) -> Result { @@ -70,7 +71,9 @@ pub fn get_opened_ports(ipt: &iptables::IPTables) -> Result {} + _ => { + debug!("{} rule not parsed: {}", ipt.cmd, i); + } } }