mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix: Direct & Reject name
This commit is contained in:
parent
b9e2d8e7f6
commit
68f0bcbd9c
|
@ -24,7 +24,7 @@ func (d *DirectAdapter) Conn() net.Conn {
|
|||
type Direct struct{}
|
||||
|
||||
func (d *Direct) Name() string {
|
||||
return "Direct"
|
||||
return "DIRECT"
|
||||
}
|
||||
|
||||
func (d *Direct) Type() C.AdapterType {
|
||||
|
|
|
@ -25,7 +25,7 @@ type Reject struct {
|
|||
}
|
||||
|
||||
func (r *Reject) Name() string {
|
||||
return "Reject"
|
||||
return "REJECT"
|
||||
}
|
||||
|
||||
func (r *Reject) Type() C.AdapterType {
|
||||
|
|
Loading…
Reference in New Issue
Block a user