mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-05-09 00:28:48 +00:00
[bug] fix wg reserved
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
parent
7ec6989c99
commit
3cd1b59a6c
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ Outbound.WireguardSettings = class extends CommonClass {
|
|||
address: this.address ? this.address.split(",") : [],
|
||||
workers: this.workers?? undefined,
|
||||
domainStrategy: WireguardDomainStrategy.includes(this.domainStrategy) ? this.domainStrategy : undefined,
|
||||
reserved: this.reserved ? this.reserved.split(",") : undefined,
|
||||
reserved: this.reserved ? this.reserved.split(",").map(Number) : undefined,
|
||||
peers: Outbound.WireguardSettings.Peer.toJsonArray(this.peers),
|
||||
kernelMode: this.kernelMode,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue