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) } }