From 1d54c40dd64ec4fcbaee913b1c020f4b65209a81 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 24 May 2011 15:37:58 +0200 Subject: nat: Allow to rewrite any non international number Remove the arteficial limitation of the number format of an unknown number. --- openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | 2 -- 1 file changed, 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) { -- cgit v1.2.3