aboutsummaryrefslogtreecommitdiff
path: root/receive.go
diff options
context:
space:
mode:
Diffstat (limited to 'receive.go')
-rw-r--r--receive.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/receive.go b/receive.go
index 0f8554f..29fe5e9 100644
--- a/receive.go
+++ b/receive.go
@@ -125,11 +125,11 @@ func (device *Device) RoutineReceiveIncoming(IP int, bind Bind) {
logDebug := device.log.Debug
defer func() {
logDebug.Println("Routine: receive incoming IPv" + strconv.Itoa(IP) + " - stopped")
- device.state.stopping.Done()
+ device.net.stopping.Done()
}()
logDebug.Println("Routine: receive incoming IPv" + strconv.Itoa(IP) + " - starting")
- device.state.starting.Done()
+ device.net.starting.Done()
// receive datagrams until conn is closed