Fix: Direct & Reject name

This commit is contained in:
gVisor bot 2018-10-19 20:28:19 +08:00
parent b9e2d8e7f6
commit 68f0bcbd9c
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

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