Disable DF on direct outbound by default

This commit is contained in:
世界 committed 2022-09-23 10:27:46 +08:00
1 parent 0738b184e4
commit a006627795
4 files changed
+20 -14

No files matched your search

+1
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,