diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-24 15:37:58 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-31 00:37:48 +0200 |
commit | 1d54c40dd64ec4fcbaee913b1c020f4b65209a81 (patch) | |
tree | 361dac358dc7663c4ce2910c58e1022fdb2ff6f9 | |
parent | 20102b0c8204c8340aae628ef5a36bbf9e4dedc8 (diff) |
nat: Allow to rewrite any non international number
Remove the arteficial limitation of the number format
of an unknown number.
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | 2 |
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) { |