mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
nat: Keep track of the error message.
This commit is contained in:
@@ -563,10 +563,11 @@ static void bsc_nat_handle_paging(struct bsc_nat *nat, struct msgb *msg)
|
||||
{
|
||||
struct bsc_connection *bsc;
|
||||
const uint8_t *paging_start;
|
||||
int paging_length, i;
|
||||
int paging_length, i, ret;
|
||||
|
||||
if (bsc_nat_find_paging(msg, &paging_start, &paging_length) != 0) {
|
||||
LOGP(DNAT, LOGL_ERROR, "Could not parse paging message.\n");
|
||||
ret = bsc_nat_find_paging(msg, &paging_start, &paging_length);
|
||||
if (ret != 0) {
|
||||
LOGP(DNAT, LOGL_ERROR, "Could not parse paging message: %d\n", ret);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user