3x-ui/database/model
MHSanaei 8db9729913
fix(model): accept tun protocol in inbound validation
Adding a TUN inbound failed with "request body failed validation" because the Inbound.Protocol oneof allowlist omitted "tun". Add it so the validator matches the protocol the frontend already offers.

Closes #4736
2026-06-01 02:23:57 +02:00
..
model.go fix(model): accept tun protocol in inbound validation 2026-06-01 02:23:57 +02:00
model_test.go feat(fallbacks): add per-rule dest override 2026-05-28 21:17:49 +02:00