fix saving sockopt

This commit is contained in:
Alireza Ahmadi committed 2025-08-09 16:07:33 +02:00
1 parent ad5f774a1e
commit d5c532c64f
2 files changed
+11 -3

No files matched your search

+1 -1
View File
@@ -1710,7 +1710,7 @@ class Inbound extends XrayCommonClass {
toJson() {
let streamSettings;
if (this.canEnableStream()) {
if (this.canEnableStream() || this.stream?.sockopt) {
streamSettings = this.stream.toJson();
}
return {