diff options
author | Jeremy Cline <jcline@redhat.com> | 2018-07-24 15:53:34 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-25 07:46:48 +0200 |
commit | e66565f3bee141748d2c3b2ed0d4ecd455f634fa (patch) | |
tree | 1c93844b2b0a9d4d06bcd36f6ef7acb6e087ebb2 /tools/bpf | |
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>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions