mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 12:42:27 +08:00
fix: key missing for tun inbound
https://github.com/MetaCubeX/mihomo/issues/1672
This commit is contained in:
parent
301c78ff9a
commit
a9ce5da09d
@ -23,18 +23,18 @@ type TunOption struct {
|
|||||||
GSOMaxSize uint32 `inbound:"gso-max-size,omitempty"`
|
GSOMaxSize uint32 `inbound:"gso-max-size,omitempty"`
|
||||||
Inet4Address []string `inbound:"inet4-address,omitempty"`
|
Inet4Address []string `inbound:"inet4-address,omitempty"`
|
||||||
Inet6Address []string `inbound:"inet6-address,omitempty"`
|
Inet6Address []string `inbound:"inet6-address,omitempty"`
|
||||||
IPRoute2TableIndex int `inbound:"iproute2-table-index"`
|
IPRoute2TableIndex int `inbound:"iproute2-table-index,omitempty"`
|
||||||
IPRoute2RuleIndex int `inbound:"iproute2-rule-index"`
|
IPRoute2RuleIndex int `inbound:"iproute2-rule-index,omitempty"`
|
||||||
AutoRedirect bool `inbound:"auto-redirect"`
|
AutoRedirect bool `inbound:"auto-redirect,omitempty"`
|
||||||
AutoRedirectInputMark uint32 `inbound:"auto-redirect-input-mark"`
|
AutoRedirectInputMark uint32 `inbound:"auto-redirect-input-mark,omitempty"`
|
||||||
AutoRedirectOutputMark uint32 `inbound:"auto-redirect-output-mark"`
|
AutoRedirectOutputMark uint32 `inbound:"auto-redirect-output-mark,omitempty"`
|
||||||
StrictRoute bool `inbound:"strict-route,omitempty"`
|
StrictRoute bool `inbound:"strict-route,omitempty"`
|
||||||
RouteAddress []string `inbound:"route-address"`
|
RouteAddress []string `inbound:"route-address,omitempty"`
|
||||||
RouteAddressSet []string `inbound:"route-address-set"`
|
RouteAddressSet []string `inbound:"route-address-set,omitempty"`
|
||||||
RouteExcludeAddress []string `inbound:"route-exclude-address"`
|
RouteExcludeAddress []string `inbound:"route-exclude-address,omitempty"`
|
||||||
RouteExcludeAddressSet []string `inbound:"route-exclude-address-set"`
|
RouteExcludeAddressSet []string `inbound:"route-exclude-address-set,omitempty"`
|
||||||
IncludeInterface []string `inbound:"include-interface,omitempty"`
|
IncludeInterface []string `inbound:"include-interface,omitempty"`
|
||||||
ExcludeInterface []string `inbound:"exclude-interface"`
|
ExcludeInterface []string `inbound:"exclude-interface,omitempty"`
|
||||||
IncludeUID []uint32 `inbound:"include-uid,omitempty"`
|
IncludeUID []uint32 `inbound:"include-uid,omitempty"`
|
||||||
IncludeUIDRange []string `inbound:"include-uid-range,omitempty"`
|
IncludeUIDRange []string `inbound:"include-uid-range,omitempty"`
|
||||||
ExcludeUID []uint32 `inbound:"exclude-uid,omitempty"`
|
ExcludeUID []uint32 `inbound:"exclude-uid,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user