aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ussd-proxy
diff options
context:
space:
mode:
authorIvan Klyuchnikov <kluchnikovi@gmail.com>2016-12-30 12:55:44 +0000
committerIvan Kluchnikov <kluchnikovi@gmail.com>2017-02-07 19:01:13 +0300
commit5788904242ca72102afa68a9bed12091e7b3ca62 (patch)
treed1be7014de2a963728285ef47e150e7f064a9add /openbsc/src/ussd-proxy
parent362a757f5604213abde8e6ce75875dde8428e632 (diff)
gsup: Update code after rebase to updated gsup implementation
Diffstat (limited to 'openbsc/src/ussd-proxy')
-rw-r--r--openbsc/src/ussd-proxy/ussd_proxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/ussd-proxy/ussd_proxy.c b/openbsc/src/ussd-proxy/ussd_proxy.c
index f52ba2859..0dcba5c9d 100644
--- a/openbsc/src/ussd-proxy/ussd_proxy.c
+++ b/openbsc/src/ussd-proxy/ussd_proxy.c
@@ -38,7 +38,7 @@ typedef struct operation operation_t;
#include <osmocom/gsm/gsm0480.h>
#include <osmocom/core/linuxlist.h>
-#include <openbsc/gprs_gsup_messages.h>
+#include <osmocom/gsm/gsup.h>
#include <openbsc/gsm_ussd_map_proto.h>
#include <openbsc/gsm_04_80.h>
@@ -1239,7 +1239,7 @@ static int isup_handle_connection(context_t *cli, su_wait_t *w, void *p)
goto err;
case IPAC_PROTO_OSMO:
// TODO callback
- if (msg->l2h[1] == GPRS_GSUP_MSGT_USSD_MAP) {
+ if (msg->l2h[1] == OSMO_GSUP_MSGT_USSD_MAP) {
LOGP(DLCTRL, LOGL_ERROR,
"Receive USS: %s\n", msgb_hexdump(msg));
@@ -1256,7 +1256,7 @@ static int isup_handle_connection(context_t *cli, su_wait_t *w, void *p)
/* TODO: handle gprs_gsup_decode() for other types */
- LOGP(DLCTRL, LOGL_ERROR, "Unknown IPAC_PROTO_OSMO GPRS_GSUP_MSGT_* 0x%x\n", msg->l2h[1]);
+ LOGP(DLCTRL, LOGL_ERROR, "Unknown IPAC_PROTO_OSMO OSMO_GSUP_MSGT_* 0x%x\n", msg->l2h[1]);
msgb_free(msg);
conn->pending_msg = NULL;
goto err;