From 7d847c0583582c3b659ef541faf7e8f14b88c78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 19 Jun 2026 23:27:23 +0800 Subject: [PATCH] Fix check vless packet encoding --- protocol/vless/outbound.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/vless/outbound.go b/protocol/vless/outbound.go index d8132cf9..36c450a7 100644 --- a/protocol/vless/outbound.go +++ b/protocol/vless/outbound.go @@ -83,7 +83,7 @@ func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextL case "xudp": outbound.xudp = true default: - return nil, E.New("unknown packet encoding: ", options.PacketEncoding) + return nil, E.New("unknown packet encoding: ", *options.PacketEncoding) } } outbound.client, err = vless.NewClient(options.UUID, options.Flow, logger)