summaryrefslogtreecommitdiffstats
path: root/test/doc/overview.rst
diff options
context:
space:
mode:
Diffstat (limited to 'test/doc/overview.rst')
-rw-r--r--test/doc/overview.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/doc/overview.rst b/test/doc/overview.rst
index 26d365bb845..2ef942684e9 100644
--- a/test/doc/overview.rst
+++ b/test/doc/overview.rst
@@ -386,7 +386,7 @@ basic IPv4 forwarding.
ip = packet[IP]
udp = packet[UDP]
# convert the payload to packet info object
- payload_info = self.payload_to_info(str(packet[Raw]))
+ payload_info = self.payload_to_info(packet[Raw])
# make sure the indexes match
self.assert_equal(payload_info.src, src_if.sw_if_index,
"source sw_if_index")