From ea40b84ec06fcb30172db01421a1acb13899a4e4 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 31 Dec 2022 17:46:55 +0000 Subject: [PATCH] fix(settings): print outbound subnets correctly --- internal/configuration/settings/firewall.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/configuration/settings/firewall.go b/internal/configuration/settings/firewall.go index d0edbf4d..b8a907dc 100644 --- a/internal/configuration/settings/firewall.go +++ b/internal/configuration/settings/firewall.go @@ -109,7 +109,8 @@ func (f Firewall) toLinesNode() (node *gotree.Node) { if len(f.OutboundSubnets) > 0 { outboundSubnets := node.Appendf("Outbound subnets:") for _, subnet := range f.OutboundSubnets { - outboundSubnets.Appendf("%s", subnet) + subnet := subnet + outboundSubnets.Appendf("%s", &subnet) } }