aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_hnbap.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-23 00:03:41 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-23 00:04:05 +0100
commitffa7c0ad3900c44fb67d486758f31b347f585eb2 (patch)
tree6014aae5c9ef189e7eb3fe6233eaa77958c3eea2 /src/hnbgw_hnbap.c
parent75a4e65f52f02e20d56d8426219feb46ec5cabf9 (diff)
use msgb_sctp_ppid() from libosmo-netif, remove local declaration
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r--src/hnbgw_hnbap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 0b8e3e4..fb7cfab 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -21,6 +21,7 @@
#include <osmocom/core/msgb.h>
#include <osmocom/core/utils.h>
#include <osmocom/gsm/gsm48.h>
+#include <osmocom/netif/stream.h>
#include <unistd.h>
#include <errno.h>
@@ -41,7 +42,7 @@ static int hnbgw_hnbap_tx(struct hnb_context *ctx, struct msgb *msg)
if (!msg)
return -EINVAL;
- msgb_ppid(msg) = IUH_PPI_HNBAP;
+ msgb_sctp_ppid(msg) = IUH_PPI_HNBAP;
return osmo_wqueue_enqueue(&ctx->wqueue, msg);
}