From baab8eca40b9b8fc86048861bc04e8a78173ec18 Mon Sep 17 00:00:00 2001 From: Vladimir Avtsenov Date: Fri, 14 Feb 2025 03:32:01 +0300 Subject: [PATCH] add logging using table and mark --- netfilter-helper/ipset-to-link.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netfilter-helper/ipset-to-link.go b/netfilter-helper/ipset-to-link.go index 8ad35f6..6866cbf 100644 --- a/netfilter-helper/ipset-to-link.go +++ b/netfilter-helper/ipset-to-link.go @@ -112,6 +112,8 @@ func (r *IPSetToLink) insertIPRule() error { } r.ipRule = rule + log.Trace().Int("table", r.table).Int("mark", int(r.mark)).Msg("using ip table and mark") + return nil }