[client] Set default wg port for new profiles (#4651)

This commit is contained in:
Viktor Liu
2025-10-16 16:16:51 +02:00
committed by GitHub
parent 8252ff41db
commit 3abae0bd17
2 changed files with 93 additions and 0 deletions
+1
View File
@@ -195,6 +195,7 @@ func createNewConfig(input ConfigInput) (*Config, error) {
config := &Config{
// defaults to false only for new (post 0.26) configurations
ServerSSHAllowed: util.False(),
WgPort: iface.DefaultWgPort,
}
if _, err := config.apply(input); err != nil {