nat: Print the unknown byte as a integer instead of charachter

The value might be a non printable one.
This commit is contained in:
Holger Hans Peter Freyther 2010-04-06 10:25:40 +02:00
parent 9d90da9843
commit 530c4b1aad
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ struct bsc_connection *bsc_nat_find_bsc(struct bsc_nat *nat, struct msgb *msg)
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) {
LOGP(DNAT, LOGL_ERROR, "Unhandled cell ident discrminator: %c\n", data[0]);
LOGP(DNAT, LOGL_ERROR, "Unhandled cell ident discrminator: %d\n", data[0]);
return NULL;
}