fix bug: 三网快速测试选的广州/上海,结果测的是北京的 https://github.com/nxtrace/NTrace-core/issues/313

Signed-off-by: tsosunchia <59512455+tsosunchia@users.noreply.github.com>
This commit is contained in:
tsosunchia
2025-07-26 20:40:20 +08:00
parent 96e06e306c
commit bc5a370f3b
2 changed files with 12 additions and 12 deletions

View File

@@ -125,15 +125,15 @@ func (f *FastTracer) testFastBJ_v6() {
}
func (f *FastTracer) testFastSH_v6() {
f.tracert_v6(TestIPsCollection.Shanghai.Location, TestIPsCollection.Beijing.CT163)
f.tracert_v6(TestIPsCollection.Shanghai.Location, TestIPsCollection.Beijing.CU169)
f.tracert_v6(TestIPsCollection.Shanghai.Location, TestIPsCollection.Beijing.CM)
f.tracert_v6(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CT163)
f.tracert_v6(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CU169)
f.tracert_v6(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CM)
}
func (f *FastTracer) testFastGZ_v6() {
f.tracert_v6(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Beijing.CT163)
f.tracert_v6(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Beijing.CU169)
f.tracert_v6(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Beijing.CM)
f.tracert_v6(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CT163)
f.tracert_v6(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CU169)
f.tracert_v6(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CM)
}
func FastTestv6(traceMode trace.Method, outEnable bool, paramsFastTrace ParamsFastTrace) {

View File

@@ -443,13 +443,13 @@ func (f *FastTracer) testFastBJ() {
}
func (f *FastTracer) testFastSH() {
f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Beijing.CT163)
f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Beijing.CU169)
f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Beijing.CM)
f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CT163)
f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CU169)
f.tracert(TestIPsCollection.Shanghai.Location, TestIPsCollection.Shanghai.CM)
}
func (f *FastTracer) testFastGZ() {
f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Beijing.CT163)
f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Beijing.CU169)
f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Beijing.CM)
f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CT163)
f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CU169)
f.tracert(TestIPsCollection.Guangzhou.Location, TestIPsCollection.Guangzhou.CM)
}