commit | e66565f3bee141748d2c3b2ed0d4ecd455f634fa | [log] [tgz] |
---|---|---|
author | Jeremy Cline <jcline@redhat.com> | Tue Jul 24 15:53:34 2018 -0400 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Jul 25 07:46:48 2018 +0200 |
tree | 1c93844b2b0a9d4d06bcd36f6ef7acb6e087ebb2 | |
parent | 2cc512c1fa1ee99879d55d1cb4e3fd0e6eab35b3 [diff] |
bpf: Add Python 3 support to selftests scripts for bpf Adjust tcp_client.py and tcp_server.py to work with Python 3 by using the print function, marking string literals as bytes, and using the newer exception syntax. This should be functionally equivalent and supports Python 3+. Signed-off-by: Jeremy Cline <jcline@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>