fix(settings): print outbound subnets correctly
@@ -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)
}
}
