From a626ee3c6f60c10807faa635af7c594a9ed491d9 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Sat, 1 Apr 2023 12:16:45 +0200 Subject: [PATCH] Change log-msg for allowedip --- cmd/app/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/app/main.go b/cmd/app/main.go index ce775e9..23ae867 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -100,7 +100,7 @@ func main() { if allowedIP.String()[:len(filterPrefix)] == filterPrefix { // Convert the IPv4 allowed-ip to an IPv6 address ipv6Str := *convertIPv4ToIPv6(&ipv6Format, &allowedIP) - logger.Info.Printf("Add converted AllowedIP %s -> %s to peer %s", allowedIP.String(), ipv6Str, peer.PublicKey) + logger.Info.Printf("AllowedIP %s -> %s to peer %s", allowedIP.String(), ipv6Str, peer.PublicKey) ipv6, err := netlink.ParseIPNet(ipv6Str) if err != nil { logger.Warn.Printf("Couldnt parse IPv6 address %s of peer %s: %s", ipv6Str, peer.PublicKey, err)