From 9ebd0bda15e831625176f055aaa2b1002ea6e954 Mon Sep 17 00:00:00 2001 From: Thibault bui Koechlin Date: Mon, 4 Jan 2021 12:46:52 +0100 Subject: [PATCH] remove disturbing warning --- iptables_context.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iptables_context.go b/iptables_context.go index 2ea189c0..b959fd80 100644 --- a/iptables_context.go +++ b/iptables_context.go @@ -79,6 +79,8 @@ func (ctx *ipTablesContext) shutDown() error { /*if the set doesn't exist, don't frigthen user with error messages*/ if strings.Contains(string(out), "Set crowdsec-blacklists doesn't exist.") { log.Infof("ipset 'crowdsec-blacklists' doesn't exist, skip") + } else if strings.Contains(string(out), "Set crowdsec6-blacklists doesn't exist.") { + log.Infof("ipset 'crowdsec6-blacklists' doesn't exist, skip") } else { log.Errorf("error while removing set entry in iptables : %v --> %s", err, string(out)) }