mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-20 00:50:06 +08:00
Merge 15c2234ba9 into 17966b5418
This commit is contained in:
commit
9d9202dd4f
@ -38,11 +38,11 @@ func (m TunnelMode) MarshalText() ([]byte, error) {
|
||||
func (m TunnelMode) String() string {
|
||||
switch m {
|
||||
case Global:
|
||||
return "global"
|
||||
return "GLOBAL"
|
||||
case Rule:
|
||||
return "rule"
|
||||
return "RULE"
|
||||
case Direct:
|
||||
return "direct"
|
||||
return "DIRECT"
|
||||
default:
|
||||
return "Unknown"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user