Skip to content

Commit 0776674

Browse files
committed
fix: Initialize default values in WireGuard endpoint configuration
1 parent 90de28e commit 0776674

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/test/java/io/nekohasekai/sagernet/fmt/ConfigBuilderWireGuardTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class ConfigBuilderWireGuardTest {
6969
route = RouteOptions().apply { final_ = MAIN_TAG }
7070
outbounds = mutableListOf(
7171
buildSingBoxEndpointWireGuardBean(WireGuardBean().apply {
72+
initializeDefaultValues()
7273
serverAddress = "198.51.100.10"
7374
serverPort = 51820
7475
localAddress = "10.0.0.2/32, fd00::2/128"

0 commit comments

Comments
 (0)