Skip to content
Commit e66565f3 authored by Jeremy Cline's avatar Jeremy Cline Committed by Daniel Borkmann
Browse files

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: default avatarJeremy Cline <jcline@redhat.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 2cc512c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment