net/netmon: publish events to event bus
Updates #15160 Signed-off-by: David Anderson <dave@tailscale.com>
This commit is contained in:
committed by
M. J. Fromberger
parent
6d6f69e735
commit
5399fa159a
@@ -329,7 +329,7 @@ func beWindowsSubprocess() bool {
|
||||
}
|
||||
|
||||
sys := tsd.NewSystem()
|
||||
netMon, err := netmon.New(log.Printf)
|
||||
netMon, err := netmon.New(sys.Bus.Get(), log.Printf)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not create netMon: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user