aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-05-24 15:37:58 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-05-31 00:37:48 +0200
commit1d54c40dd64ec4fcbaee913b1c020f4b65209a81 (patch)
tree361dac358dc7663c4ce2910c58e1022fdb2ff6f9 /openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
parent20102b0c8204c8340aae628ef5a36bbf9e4dedc8 (diff)
nat: Allow to rewrite any non international number
Remove the arteficial limitation of the number format of an unknown number.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
index 4696bb03a..76b56f627 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
@@ -811,8 +811,6 @@ static char *rewrite_non_international(struct bsc_nat *nat, void *ctx, const cha
return NULL;
if (called->type == 1)
return NULL;
- if (strncmp(called->number, "00", 2) == 0)
- return NULL;
/* need to find a replacement and then fix it */
llist_for_each_entry(entry, &nat->num_rewr->entry, list) {