From 8eded2749a8d1bdd1d6068bb1e928925f3bb60da Mon Sep 17 00:00:00 2001 From: Roberto Bonafiglia Date: Mon, 17 Jan 2022 10:20:12 +0100 Subject: [PATCH] Added debug log for IPv6 Masquerading rule Signed-off-by: Roberto Bonafiglia --- pkg/agent/flannel/flannel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/agent/flannel/flannel.go b/pkg/agent/flannel/flannel.go index b1435d64ed..7c19804a5f 100644 --- a/pkg/agent/flannel/flannel.go +++ b/pkg/agent/flannel/flannel.go @@ -72,6 +72,7 @@ func flannel(ctx context.Context, flannelIface *net.Interface, flannelConf, kube go network.SetupAndEnsureIPTables(network.ForwardRules(config.Network.String()), 50) if flannelIPv6Masq && config.IPv6Network.String() != emptyIPv6Network { + logrus.Debugf("Creating IPv6 masquerading iptables rules for %s network", config.IPv6Network.String()) go network.SetupAndEnsureIP6Tables(network.MasqIP6Rules(config.IPv6Network, bn.Lease()), 60) go network.SetupAndEnsureIP6Tables(network.ForwardRules(config.IPv6Network.String()), 50) }