Skip to content

Commit 8da0679

Browse files
committed
fix: wg default value
1 parent 61c8441 commit 8da0679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conf/config.go

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func Init(file string) {
6262

6363
viper.SetDefault("ddns.interval", 60)
6464
viper.SetDefault("ddns.handshake_max", 150)
65+
viper.SetDefault("wireguard.MTU", 1420)
6566

6667
update()
6768
if err != nil {

0 commit comments

Comments
 (0)