Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8e20fe7
)
tests: python3 changes for ip6 fib tests
86/22686/6
author
snaramre
<snaramre@cisco.com>
Fri, 11 Oct 2019 21:28:56 +0000
(21:28 +0000)
committer
Ole Trøan
<otroan@employees.org>
Wed, 16 Oct 2019 16:14:25 +0000
(16:14 +0000)
Type: fix
Change-Id: Ie7764fec13cbb83b6899c7c33b7b2f8cc5d40c8a
Signed-off-by: snaramre <snaramre@cisco.com>
test/test_ip6.py
patch
|
blob
|
history
diff --git
a/test/test_ip6.py
b/test/test_ip6.py
index
f2c4c00
..
7c43544
100644
(file)
--- 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)