Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sub/subService.go')
-rw-r--r--sub/subService.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/sub/subService.go b/sub/subService.go
index 9f26c0e0..dfb0863e 100644
--- a/sub/subService.go
+++ b/sub/subService.go
@@ -437,6 +437,11 @@ func (s *SubService) genVlessLink(inbound *model.Inbound, email string) string {
params["fp"] = fp
}
}
+ if pqvValue, ok := searchKey(realitySettings, "mldsa65Verify"); ok {
+ if pqv, ok := pqvValue.(string); ok && len(pqv) > 0 {
+ params["pqv"] = pqv
+ }
+ }
params["spx"] = "/" + random.Seq(15)
}
@@ -627,6 +632,11 @@ func (s *SubService) genTrojanLink(inbound *model.Inbound, email string) string
params["fp"] = fp
}
}
+ if pqvValue, ok := searchKey(realitySettings, "mldsa65Verify"); ok {
+ if pqv, ok := pqvValue.(string); ok && len(pqv) > 0 {
+ params["pqv"] = pqv
+ }
+ }
params["spx"] = "/" + random.Seq(15)
}