aboutsummaryrefslogtreecommitdiffstats
path: root/examples/channel/abis_ipa_client.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 00:52:00 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 00:52:00 +0200
commit775c1de0891da2d3b16efada5ee8b99f96d045a1 (patch)
tree3d0c015075c215ca4200b0c165f882195d0ca7e8 /examples/channel/abis_ipa_client.c
parentb71627b1f74f8c7368fd132f7eec3b2dc26d165f (diff)
channel: add subtype ID to osmo_chan_create
This adds the possibility to specify the variant of the channel. This was discussed during the osmocom workshop. Harald wanted a way to say if the channel is using TCP, UDP, DADHDI and so on.
Diffstat (limited to 'examples/channel/abis_ipa_client.c')
-rw-r--r--examples/channel/abis_ipa_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/channel/abis_ipa_client.c b/examples/channel/abis_ipa_client.c
index c560e9f..3e24b62 100644
--- a/examples/channel/abis_ipa_client.c
+++ b/examples/channel/abis_ipa_client.c
@@ -58,7 +58,7 @@ int main(void)
osmo_chan_init(tall_example);
/* create channel. */
- chan = osmo_chan_create(OSMO_CHAN_ABIS_IPA_CLI);
+ chan = osmo_chan_create(OSMO_CHAN_ABIS_IPA_CLI, OSMO_SUBCHAN_STREAM);
if (chan == NULL) {
LOGP(DEXAMPLE, LOGL_ERROR, "Cannot create A-bis IPA client\n");
exit(EXIT_FAILURE);