Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Oct 23, 2017
1 parent 60b46d6 commit b367255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Version 4.0.3
patch by: dhammika
* Fix: api poller slow down
patch by: dhammika
* Fix: EVPN decoding on type 4 NLRI
patch by: kvlangenhove

Version 4.0.2
* Feature: exabgpcli
Expand Down
2 changes: 1 addition & 1 deletion lib/exabgp/bgp/message/update/nlri/evpn/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def unpack (cls, data):
if iplen not in (32,128):
raise Notify(3,5,"IP length field is given as %d in current Segment, expecting 32 (IPv4) or 128 (IPv6) bits" % iplen)

ip = IP.unpack(data[19:19+(iplen/8)])
ip = IP.unpack(data[19:19+(iplen//8)])

return cls(rd,esi,ip,data)

Expand Down

0 comments on commit b367255

Please sign in to comment.