diff --git a/tests/mptcpwrap-tester.c b/tests/mptcpwrap-tester.c index 3d004007..1e7170b7 100644 --- a/tests/mptcpwrap-tester.c +++ b/tests/mptcpwrap-tester.c @@ -64,7 +64,7 @@ static void test_socket_data(struct socket_data const *data) "WARNING: Ignoring unsupported " "protocol: %d - %s\n", data->protocol, - p->p_name); + p ? p->p_name : "Unknown"); return; }