From f3d81544b1ade309813c3f87d1fc5990ca2e962d Mon Sep 17 00:00:00 2001 From: Roberto Bonafiglia Date: Tue, 8 Mar 2022 09:42:25 +0100 Subject: [PATCH] Fixed log in case of ipv6 only config Signed-off-by: Roberto Bonafiglia --- pkg/agent/flannel/flannel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/flannel/flannel.go b/pkg/agent/flannel/flannel.go index 142a42b731..26b2950c01 100644 --- a/pkg/agent/flannel/flannel.go +++ b/pkg/agent/flannel/flannel.go @@ -116,7 +116,7 @@ func LookupExtInterface(iface *net.Interface, netMode int) (*backend.ExternalInt if err != nil { return nil, fmt.Errorf("failed to find IPv6 address for interface %s", iface.Name) } - logrus.Infof("Using dual-stack mode. The ipv6 address %s will be used by flannel", ifacev6Addr[0]) + logrus.Infof("The interface %s with ipv6 address %s will be used by flannel", iface.Name, ifacev6Addr[0]) ifaceAddr = append(ifaceAddr, nil) case (ipv4 + ipv6): ifaceAddr, err = ip.GetInterfaceIP4Addrs(iface)