mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-26 08:55:35 +03:00
Fix check vless packet encoding
This commit is contained in:
@@ -83,7 +83,7 @@ func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextL
|
|||||||
case "xudp":
|
case "xudp":
|
||||||
outbound.xudp = true
|
outbound.xudp = true
|
||||||
default:
|
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)
|
outbound.client, err = vless.NewClient(options.UUID, options.Flow, logger)
|
||||||
|
|||||||
Reference in New Issue
Block a user