Fix network monitor

This commit is contained in:
世界
2023-07-23 14:42:19 +08:00
parent 2675aff98a
commit 90b3aad83a
21 changed files with 79 additions and 80 deletions

View File

@@ -98,11 +98,11 @@ func NewVMess(ctx context.Context, router adapter.Router, logger log.ContextLogg
return outbound, nil
}
func (h *VMess) InterfaceUpdated() error {
func (h *VMess) InterfaceUpdated() {
if h.multiplexDialer != nil {
h.multiplexDialer.Reset()
}
return nil
return
}
func (h *VMess) Close() error {