Fix: Direct & Reject name
This commit is contained in:
parent
b9e2d8e7f6
commit
68f0bcbd9c
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