summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2015-10-15 16:33:41 +0300
committerIvan Kluchnikov <kluchnikovi@gmail.com>2015-10-24 12:26:15 +0300
commite4fd51d1fc92a27b3294f88c4853e0655e631d75 (patch)
treeb392d1c16563ff1118890c500d3dff002e706306
parentaf7916c747711cc16baf243f9663d4811b1b3bb5 (diff)
sup: Fix msisdn decoding
-rw-r--r--openbsc/src/libmsc/gsm_sup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/gsm_sup.c b/openbsc/src/libmsc/gsm_sup.c
index 80352d3..ab17664 100644
--- a/openbsc/src/libmsc/gsm_sup.c
+++ b/openbsc/src/libmsc/gsm_sup.c
@@ -125,7 +125,7 @@ static int subscr_handle_sup_upd_loc_res(struct gsm_subscriber *subscr,
memcpy(msisdn_lv+1, gsup_msg->msisdn_enc,
gsup_msg->msisdn_enc_len);
gsm48_decode_bcd_number(subscr->extension, sizeof(subscr->extension),
- msisdn_lv,1);
+ msisdn_lv,0);
}
}