fix(cli): fix openvpnconfig command panic due to missing SetDefaults call

This commit is contained in:
Quentin McGaw
2024-12-27 09:30:58 +00:00
parent e890c50da6
commit 64bfbaa45d

View File

@@ -56,6 +56,7 @@ func (c *CLI) OpenvpnConfig(logger OpenvpnConfigLogger, reader *reader.Reader,
if err != nil { if err != nil {
return err return err
} }
allSettings.SetDefaults()
ipv6Supported, err := ipv6Checker.IsIPv6Supported() ipv6Supported, err := ipv6Checker.IsIPv6Supported()
if err != nil { if err != nil {