mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
fix:端口范围映射bug
This commit is contained in:
@@ -473,6 +473,7 @@ loop:
|
||||
tl.Remark = t.Remark
|
||||
} else {
|
||||
tl.Remark = t.Remark + "_" + strconv.Itoa(tl.Port)
|
||||
tl.Target = new(file.Target)
|
||||
if t.TargetAddr != "" {
|
||||
tl.Target.TargetStr = t.TargetAddr + ":" + strconv.Itoa(targets[i])
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user