Fix: Direct & Reject name

This commit is contained in:
Dreamacro 2018-10-19 20:28:19 +08:00
parent 82343c70e9
commit 1235c9a939
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ func (d *DirectAdapter) Conn() net.Conn {
type Direct struct{} type Direct struct{}
func (d *Direct) Name() string { func (d *Direct) Name() string {
return "Direct" return "DIRECT"
} }
func (d *Direct) Type() C.AdapterType { func (d *Direct) Type() C.AdapterType {

View file

@ -25,7 +25,7 @@ type Reject struct {
} }
func (r *Reject) Name() string { func (r *Reject) Name() string {
return "Reject" return "REJECT"
} }
func (r *Reject) Type() C.AdapterType { func (r *Reject) Type() C.AdapterType {