aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorsnaramre <snaramre@cisco.com>2019-10-11 21:28:56 +0000
committerOle Trøan <otroan@employees.org>2019-10-16 16:14:25 +0000
commit07a0f212c4fed965928c311227067add8e39dc91 (patch)
tree3a434124f272db3fb343855dffab5bc9a90a38be /test
parent8e20fe7ab445e2de80caabb298aef8a658f6d4ab (diff)
tests: python3 changes for ip6 fib tests
Type: fix Change-Id: Ie7764fec13cbb83b6899c7c33b7b2f8cc5d40c8a Signed-off-by: snaramre <snaramre@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_ip6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ip6.py b/test/test_ip6.py
index f2c4c00424e..7c43544286d 100644
--- a/test/test_ip6.py
+++ b/test/test_ip6.py
@@ -240,7 +240,7 @@ class TestIPv6(TestIPv6ND):
:param int packet_size: Required packet size.
:param Scapy pkt: Packet to be modified.
"""
- dst_if_idx = packet_size / 10 % 2
+ dst_if_idx = int(packet_size / 10 % 2)
dst_if = self.flows[src_if][dst_if_idx]
info = self.create_packet_info(src_if, dst_if)
payload = self.info_to_payload(info)