aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-25 22:03:25 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-30 09:57:49 +0100
commit8239e063b995cda10f0b7c5d59cbdde7da9579eb (patch)
tree58e26841778d5787b3bcb67fde707923c92fcd61 /openbsc/include
parent1da0a7e229f1d00407c04fdb4091a1f38e05d055 (diff)
gsm0408: Provide unique strings for the gsm 04.08 message
At Rhizomatica we see that some GSM 04.08 messages are leaked and have no other indication if that is Call Control, SMS or something else.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_04_08.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_04_08.h b/openbsc/include/openbsc/gsm_04_08.h
index 02d67f762..fd0b89d79 100644
--- a/openbsc/include/openbsc/gsm_04_08.h
+++ b/openbsc/include/openbsc/gsm_04_08.h
@@ -19,10 +19,10 @@ struct amr_mode;
#define GSM48_ALLOC_SIZE 2048
#define GSM48_ALLOC_HEADROOM 256
-static inline struct msgb *gsm48_msgb_alloc(void)
+static inline struct msgb *gsm48_msgb_alloc_name(const char *name)
{
return msgb_alloc_headroom(GSM48_ALLOC_SIZE, GSM48_ALLOC_HEADROOM,
- "GSM 04.08");
+ name);
}
static inline int get_radio_link_timeout(struct gsm48_cell_options *cell_options)