diff options
Diffstat (limited to 'ryu/services/protocols/bgp/speaker.py')
-rw-r--r-- | ryu/services/protocols/bgp/speaker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/speaker.py b/ryu/services/protocols/bgp/speaker.py index bed62762..71c7ec43 100644 --- a/ryu/services/protocols/bgp/speaker.py +++ b/ryu/services/protocols/bgp/speaker.py @@ -508,7 +508,7 @@ class BgpProtocol(Protocol, Activity): self._holdtime = neg_timer self._keepalive = self._create_timer('Keepalive Timer', self._send_keepalive) - interval = self._holdtime / 3 + interval = self._holdtime // 3 self._keepalive.start(interval, now=False) # Setup the expire timer. self._expiry = self._create_timer('Holdtime Timer', self._expired) |