mirror of
https://github.com/oneclickvirt/backtrace.git
synced 2025-08-02 21:56:58 +08:00
fix: 修复类型分配
This commit is contained in:
parent
bf0dc1c95f
commit
461c28f3d1
@ -39,8 +39,6 @@ type PoPResult struct {
|
||||
Result string
|
||||
}
|
||||
|
||||
// === 分类映射 ===
|
||||
|
||||
var tier1Global = map[string]string{
|
||||
"174": "Cogent",
|
||||
"1299": "Arelion",
|
||||
@ -93,8 +91,6 @@ var ixps = map[string]string{
|
||||
"6695": "DE-CIX",
|
||||
}
|
||||
|
||||
// === 工具函数 ===
|
||||
|
||||
func getISPAbbr(asn, name string) string {
|
||||
if abbr, ok := tier1Global[asn]; ok {
|
||||
return abbr
|
||||
|
Loading…
Reference in New Issue
Block a user