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

@@ -241,9 +241,9 @@ func (h *Hysteria) udpRecvLoop(conn quic.Connection) {
}
}
func (h *Hysteria) InterfaceUpdated() error {
func (h *Hysteria) InterfaceUpdated() {
h.Close()
return nil
return
}
func (h *Hysteria) Close() error {