summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsm48_ie.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gsm48_ie.c b/src/gsm48_ie.c
index 71910c6e..0e270881 100644
--- a/src/gsm48_ie.c
+++ b/src/gsm48_ie.c
@@ -249,7 +249,8 @@ int gsm48_encode_called(struct msgb *msg,
int ret;
/* octet 3 */
- lv[1] = called->plan;
+ lv[1] = 0x80; /* no extension */
+ lv[1] |= called->plan;
lv[1] |= called->type << 4;
/* octet 4..N, octet 2 */