diff --git a/tests/sctp/sctp-test.c b/tests/sctp/sctp-test.c index ff24ab1df..288e06b44 100644 --- a/tests/sctp/sctp-test.c +++ b/tests/sctp/sctp-test.c @@ -200,7 +200,9 @@ static void test4_main(void *data) size = ogs_sctp_recvdata(sctp, str, STRLEN, NULL, &sinfo); ABTS_INT_EQUAL(tc, strlen(DATASTR), size); +#if !HAVE_USRSCTP ABTS_INT_EQUAL(tc, PPID, sinfo.ppid); +#endif ogs_sctp_destroy(sctp); @@ -274,7 +276,9 @@ static void test5_main(void *data) size = ogs_sctp_recvdata(sctp, str, STRLEN, &from, &sinfo); ABTS_INT_EQUAL(tc, strlen(DATASTR), size); ABTS_STR_EQUAL(tc, "::1", OGS_ADDR(&from, buf)); +#if !HAVE_USRSCTP ABTS_INT_EQUAL(tc, PPID, sinfo.ppid); +#endif ogs_sctp_destroy(sctp); }