A patch to support a wide range of AmneziaWG versions. (#1210)

Support for all keys ever used in AmneziaWG has been added. Setting an empty value to a key will prevent it from being used or rendered in the configuration. This ensures flexible support for all versions and specific configurations.
This commit is contained in:
freetushkan
2026-04-30 17:23:26 +03:00
committed by GitHub
parent 90614a6360
commit 930c4169c5
3 changed files with 51 additions and 26 deletions

View File

@@ -206,7 +206,11 @@ class Peer:
"I2": self.configuration.I2,
"I3": self.configuration.I3,
"I4": self.configuration.I4,
"I5": self.configuration.I5
"I5": self.configuration.I5,
"J1": self.configuration.J1,
"J2": self.configuration.J2,
"J3": self.configuration.J3,
"Itime": self.configuration.Itime
})
peerSection = {