From 68f0bcbd9cca1485ba94b46a2cb11507292cd996 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Fri, 19 Oct 2018 20:28:19 +0800 Subject: [PATCH] Fix: Direct & Reject name --- adapters/outbound/direct.go | 2 +- adapters/outbound/reject.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adapters/outbound/direct.go b/adapters/outbound/direct.go index 70a1d648..4a8a10e3 100644 --- a/adapters/outbound/direct.go +++ b/adapters/outbound/direct.go @@ -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 { diff --git a/adapters/outbound/reject.go b/adapters/outbound/reject.go index 3bc8bdf3..deb36e71 100644 --- a/adapters/outbound/reject.go +++ b/adapters/outbound/reject.go @@ -25,7 +25,7 @@ type Reject struct { } func (r *Reject) Name() string { - return "Reject" + return "REJECT" } func (r *Reject) Type() C.AdapterType {