Fix network monitor

This commit is contained in:
世界
2023-07-23 14:42:19 +08:00
parent 0cbfc59b37
commit 4f847ab87d
21 changed files with 79 additions and 80 deletions

View File

@@ -129,11 +129,11 @@ func (h *Shadowsocks) NewPacketConnection(ctx context.Context, conn N.PacketConn
return NewPacketConnection(ctx, h, conn, metadata)
}
func (h *Shadowsocks) InterfaceUpdated() error {
func (h *Shadowsocks) InterfaceUpdated() {
if h.multiplexDialer != nil {
h.multiplexDialer.Reset()
}
return nil
return
}
func (h *Shadowsocks) Close() error {