mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
Merge 63f7182f2b
into 063836fe5d
This commit is contained in:
commit
489b145d09
|
@ -58,11 +58,11 @@ func (m TunnelMode) MarshalYAML() (any, 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