mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
nat: SMS rewrite matching, empty list means match everything
This commit is contained in:
@@ -907,7 +907,7 @@ static char *find_new_smsc(struct bsc_nat *nat, void *ctx, const char *imsi,
|
||||
{
|
||||
struct bsc_nat_num_rewr_entry *entry;
|
||||
char *new_number = NULL;
|
||||
uint8_t dest_match = 0;
|
||||
uint8_t dest_match = llist_empty(&nat->tpdest_match);
|
||||
|
||||
/* We will find a new number now */
|
||||
llist_for_each_entry(entry, &nat->smsc_rewr, list) {
|
||||
|
Reference in New Issue
Block a user