未验证 提交 b031f799 编写于 作者: Q Qianqian Zhu 提交者: GitHub

Merge pull request #1547 from xiywang/ethtool_python3

ethtool: fix python3 compatible issue
......@@ -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.
先完成此消息的编辑!
想要评论请 注册