aboutsummaryrefslogtreecommitdiff
path: root/lib/test_string.c
diff options
context:
space:
mode:
authorJeremy Cline <[email protected]>2018-07-24 15:53:34 -0400
committerDaniel Borkmann <[email protected]>2018-07-25 07:46:48 +0200
commite66565f3bee141748d2c3b2ed0d4ecd455f634fa (patch)
tree1c93844b2b0a9d4d06bcd36f6ef7acb6e087ebb2 /lib/test_string.c
parent2cc512c1fa1ee99879d55d1cb4e3fd0e6eab35b3 (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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/test_string.c')
0 files changed, 0 insertions, 0 deletions