diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 10:25:40 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:11 +0800 |
commit | 530c4b1aad9ebf6a2c51d34d8dac569a3ad15cfa (patch) | |
tree | ee4c7d0c768ff3ac5d55d9200c234432386edbd2 /openbsc/src/nat/bsc_nat_utils.c | |
parent | 9d90da9843d45559f535da0176410b296dacc610 (diff) |
nat: Print the unknown byte as a integer instead of charachter
The value might be a non printable one.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c index 7effe484b..81d4de91e 100644 --- a/openbsc/src/nat/bsc_nat_utils.c +++ b/openbsc/src/nat/bsc_nat_utils.c @@ -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; } |