mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
Fix direct udp outbound
This commit is contained in:
@@ -70,7 +70,7 @@ func (h *Outbound) UnmarshalJSON(bytes []byte) error {
|
||||
case C.TypeURLTest:
|
||||
v = &h.URLTestOptions
|
||||
default:
|
||||
return nil
|
||||
return E.New("unknown outbound type: ", h.Type)
|
||||
}
|
||||
err = UnmarshallExcluded(bytes, (*_Outbound)(h), v)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user