aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmux/osmux_test.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@soleta.eu>2015-07-21 10:20:54 +0200
committerPablo Neira Ayuso <pablo@soleta.eu>2015-07-21 11:05:34 +0200
commit386e7755a773271873b2abbcb49d2c6ca9bd3b48 (patch)
tree723b1297c72ef274ebe376386dabf75010a068e7 /tests/osmux/osmux_test.c
parentb36951e6e30380f64d19896e240b1ca540331735 (diff)
tests: osmux: test online deactivation of dummy padding
Add RTP packets to circuit with dummy padding enabled to test automatic deactivation once when start seeing real voice traffic.
Diffstat (limited to 'tests/osmux/osmux_test.c')
-rw-r--r--tests/osmux/osmux_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c
index 51f026c..09ef9fd 100644
--- a/tests/osmux/osmux_test.c
+++ b/tests/osmux/osmux_test.c
@@ -193,6 +193,10 @@ int main(void)
/* Start pushing voice data to circuits 0 and 1 */
osmux_test_loop(0);
+ /* ... now start pushing voice data to circuits 2 and 3. This circuits
+ * comes with dummy padding enabled.
+ */
+ osmux_test_loop(2);
for (i = 0; i < 4; i++)
osmux_xfrm_input_close_circuit(&h_input, i);