diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-10 14:13:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-10 14:13:43 +0100 |
commit | dec7387a22a6f99693894e7954f1c7adaaaf412e (patch) | |
tree | 90cc13f34e9b07e415c46a2231513918f18c1cff /openbsc/src | |
parent | 998a98185f01a58e571144d844187f655fbf2e72 (diff) |
nat: SMS comment updates
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c index 077ea14b1..cf125a661 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c @@ -1042,6 +1042,7 @@ static struct msgb *rewrite_sms(struct bsc_nat *nat, struct msgb *msg, return NULL; } + /* RP */ ref = hdr48->data[2]; orig_addr_len = hdr48->data[3]; orig_addr_ptr = &hdr48->data[4]; @@ -1090,7 +1091,7 @@ static struct msgb *rewrite_sms(struct bsc_nat *nat, struct msgb *msg, } if ((data_ptr[3] & 0x0F) == 0) { - LOGP(DNAT, LOGL_ERROR, "TP-DestAddr is not a ISDN number.\n"); + LOGP(DNAT, LOGL_ERROR, "TP-DestAddr is of unknown type.\n"); return NULL; } |