Skip to content

Commit

Permalink
Fix check interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Jan 1, 2025
1 parent 3e246f1 commit 935beca
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions route/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,6 @@ func NewRouter(
return nil, err
}
router.networkMonitor = networkMonitor
networkMonitor.RegisterCallback(func() {
_ = router.interfaceFinder.Update()
})
interfaceMonitor, err := tun.NewDefaultInterfaceMonitor(router.networkMonitor, router.logger, tun.DefaultInterfaceMonitorOptions{
InterfaceFinder: router.interfaceFinder,
OverrideAndroidVPN: options.OverrideAndroidVPN,
Expand Down

0 comments on commit 935beca

Please sign in to comment.