aboutsummaryrefslogtreecommitdiffstats
path: root/tun.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun.go')
-rw-r--r--tun.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tun.go b/tun.go
index 65a878c..d2fb708 100644
--- a/tun.go
+++ b/tun.go
@@ -33,9 +33,11 @@ type TUNDevice interface {
func (device *Device) RoutineTUNEventReader() {
setUp := false
+ logDebug := device.log.Debug
logInfo := device.log.Info
logError := device.log.Error
+ logDebug.Println("Routine: event worker - started")
device.state.starting.Done()
for event := range device.tun.device.Events() {
@@ -67,5 +69,6 @@ func (device *Device) RoutineTUNEventReader() {
}
}
+ logDebug.Println("Routine: event worker - stopped")
device.state.stopping.Done()
}