Fix: Direct & Reject name
This commit is contained in:
parent
82343c70e9
commit
1235c9a939
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue