gsup decode: fix expectation of AUTS length, should be 14

The wrong expectation caused OsmoHLR to fail on Auth Sync.

Change-Id: I277fb3d407396dffa5c07a9c5454d87a415d393f
This commit is contained in:
Neels Hofmeyr 2017-02-21 15:53:20 +01:00
parent 32ee5af893
commit 3a5ca647c5
1 changed files with 2 additions and 2 deletions

View File

@ -339,9 +339,9 @@ int osmo_gsup_decode(const uint8_t *const_data, size_t data_len,
break;
case OSMO_GSUP_AUTS_IE:
if (value_len != 16) {
if (value_len != 14) {
LOGP(DLGSUP, LOGL_ERROR,
"AUTS length != 16 received\n");
"AUTS length != 14 received\n");
return -GMM_CAUSE_COND_IE_ERR;
}
gsup_msg->auts = value;