Disable DF on direct outbound by default

This commit is contained in:
世界
2022-09-21 15:32:32 +08:00
parent 0738b184e4
commit a006627795
4 changed files with 20 additions and 14 deletions

View File

@@ -35,6 +35,7 @@ type Direct struct {
}
func NewDirect(router adapter.Router, logger log.ContextLogger, tag string, options option.DirectOutboundOptions) (*Direct, error) {
options.UDPFragmentDefault = true
outbound := &Direct{
myOutboundAdapter: myOutboundAdapter{
protocol: C.TypeDirect,