diff options
Diffstat (limited to 'src/receive.go')
-rw-r--r-- | src/receive.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/receive.go b/src/receive.go index e9c14f5..99089a9 100644 --- a/src/receive.go +++ b/src/receive.go @@ -319,6 +319,10 @@ func (device *Device) RoutineHandshake() { // ratelimit + if !device.ratelimiter.Allow(elem.source.IP) { + return + } + // handle messages switch elem.msgType { |