[nat] Ignore paging that is to page by BSS...

We do not want to handle this identity. If we can not page by
lac there is no need to page anything else.
This commit is contained in:
Holger Hans Peter Freyther 2010-04-21 18:47:24 +08:00
parent 5e63f921f0
commit a4376adb54
1 changed files with 5 additions and 1 deletions

View File

@ -127,7 +127,11 @@ struct bsc_connection *bsc_nat_find_bsc(struct bsc_nat *nat, struct msgb *msg, i
data_length = TLVP_LEN(&tp, GSM0808_IE_CELL_IDENTIFIER_LIST);
data = TLVP_VAL(&tp, GSM0808_IE_CELL_IDENTIFIER_LIST);
if (data[0] != CELL_IDENT_LAC) {
/* No need to try a different BSS */
if (data[0] == CELL_IDENT_BSS) {
return NULL;
} else if (data[0] != CELL_IDENT_LAC) {
LOGP(DNAT, LOGL_ERROR, "Unhandled cell ident discrminator: %d\n", data[0]);
return NULL;
}