diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-12-28 04:18:31 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-12-28 04:18:31 +0100 |
commit | bebcef484462bc4c61659666b871cf9e0d68ef28 (patch) | |
tree | a1170382cda43793de8519e8b96db58567fe0797 | |
parent | f174dd641d6913b9919156b9e73c4c6c6eeb0dec (diff) |
Change-Id: I8cb7a05b583894a5edfb27421c0dcca14ebf099a
-rw-r--r-- | tests/iuup/iuup_test.c | 3 | ||||
-rw-r--r-- | tests/iuup/iuup_test.ok | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/iuup/iuup_test.c b/tests/iuup/iuup_test.c index e6f2ca57a..95d4642f0 100644 --- a/tests/iuup/iuup_test.c +++ b/tests/iuup/iuup_test.c @@ -107,11 +107,12 @@ void test_cn_session() "160051673c01270000820000001710000100" /* IuUP params */)); #define RTP_HEADER "8060944c6256042c00010102" +#define RTP_HEADER_PT112 "8070944c6256042c00010102" #define IUUP_HEADER "0100e2b3" #define RTP_PAYLOAD "6cfb23bc46d18180c3e5ffe040045600005a7d35b625b80005fff03214ced0" printf("\nReceive payload encapsulated in IuUP. Expecting rx_payload() of just RTP packet\n"); printf("i.e. should strip away " IUUP_HEADER "\n"); - expect_rx_payload = RTP_HEADER "f03c" RTP_PAYLOAD; + expect_rx_payload = RTP_HEADER_PT112 "f03c" RTP_PAYLOAD; rx_pdu(cn, msgb_from_hex("IuUP-Data", RTP_HEADER IUUP_HEADER RTP_PAYLOAD)); diff --git a/tests/iuup/iuup_test.ok b/tests/iuup/iuup_test.ok index 8c473d620..64453a5cf 100644 --- a/tests/iuup/iuup_test.ok +++ b/tests/iuup/iuup_test.ok @@ -15,7 +15,7 @@ i.e. should strip away 0100e2b3 8060944c6256042c000101020100e2b36cfb23bc46d18180c3e5ffe040045600005a7d35b625b80005fff03214ced0 rx_payload() invoked by iuup_cn! [IuUP] -RTP-> -8060944c6256042c00010102f03c6cfb23bc46d18180c3e5ffe040045600005a7d35b625b80005fff03214ced0 +8070944c6256042c00010102f03c6cfb23bc46d18180c3e5ffe040045600005a7d35b625b80005fff03214ced0 node_priv=0x2342 ok: matches expected msg rc=0 |