aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/ipc_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/ipc_server.go')
-rw-r--r--service/ipc_server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/ipc_server.go b/service/ipc_server.go
index 4dd36b2d..0b0b3a05 100644
--- a/service/ipc_server.go
+++ b/service/ipc_server.go
@@ -294,9 +294,9 @@ func notifyAll(notificationType NotificationType, ifaces ...interface{}) {
func IPCServerNotifyTunnelChange(name string, state TunnelState, err error) {
if err == nil {
- notifyAll(TunnelChangeNotificationType, name, state, "")
+ notifyAll(TunnelChangeNotificationType, name, state, trackedTunnelsGlobalState(), "")
} else {
- notifyAll(TunnelChangeNotificationType, name, state, err.Error())
+ notifyAll(TunnelChangeNotificationType, name, state, trackedTunnelsGlobalState(), err.Error())
}
}