mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-16 01:55:01 +03:00
852b53db79
- Loopback outbound: add sniffing support (xray-core #6320) - FinalMask fragment: support per-segment lengths/delays arrays with legacy length/delay migration (xray-core #6334) - Consolidate sniffing into a shared SniffingFields component and the canonical SniffingSchema across inbound, VLESS reverse, and loopback
17 lines
375 B
TypeScript
17 lines
375 B
TypeScript
import { useTranslation } from 'react-i18next';
|
|
import { Form } from 'antd';
|
|
|
|
import SniffingFields from '@/lib/xray/forms/SniffingFields';
|
|
|
|
export default function SniffingTab() {
|
|
const { t } = useTranslation();
|
|
const form = Form.useFormInstance();
|
|
return (
|
|
<SniffingFields
|
|
name={['sniffing']}
|
|
form={form}
|
|
enableLabel={t('enable')}
|
|
/>
|
|
);
|
|
}
|