提交 1f6370fc 编写于 作者: X Xiyue Wang

ethtool: fix python3 compatible issue

Signed-off-by: NXiyue Wang <xiywang@redhat.com>
上级 8dea3ad9
......@@ -146,7 +146,7 @@ def run(test, params, env):
# only capture the new tcp port after offload setup
original_tcp_ports = re.findall(
r"tcp.*:(\d+).*%s" % guest_ip,
process.system_output("/bin/netstat -nap"))
process.system_output("/bin/netstat -nap").decode())
for i in original_tcp_ports:
tcpdump_cmd += " and not port %s" % i
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册