Fix inbound default DF

This commit is contained in:
世界
2023-01-19 10:35:26 +08:00
parent 05620a369e
commit 168253b851
4 changed files with 11 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ type Direct struct {
}
func NewDirect(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.DirectInboundOptions) *Direct {
options.UDPFragmentDefault = true
inbound := &Direct{
myInboundAdapter: myInboundAdapter{
protocol: C.TypeDirect,