aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_filter.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-01 08:47:12 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-01 08:47:12 +0200
commita5a4014d67a5eae045541681b94359eb4bf0bd18 (patch)
tree36318f930adc37358b36cbcec3d4086b3bbed3b4 /openbsc/src/nat/bsc_filter.c
parent9d519189aefc1a872e8388b8264f8cf9b70aca7b (diff)
nat: Allow to send MGCP messages from the BSC to the network
Diffstat (limited to 'openbsc/src/nat/bsc_filter.c')
-rw-r--r--openbsc/src/nat/bsc_filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_filter.c b/openbsc/src/nat/bsc_filter.c
index 1561676c9..891d4555d 100644
--- a/openbsc/src/nat/bsc_filter.c
+++ b/openbsc/src/nat/bsc_filter.c
@@ -67,6 +67,9 @@ static struct bsc_pkt_filter black_list[] = {
static struct bsc_pkt_filter white_list[] = {
/* allow IPAC_PROTO_SCCP messages to both sides */
{ IPAC_PROTO_SCCP, ALLOW_ANY, ALLOW_ANY, ALLOW_ANY, FILTER_TO_BOTH },
+
+ /* allow MGCP messages to both sides */
+ { NAT_IPAC_PROTO_MGCP, ALLOW_ANY, ALLOW_ANY, ALLOW_ANY, FILTER_TO_BOTH },
};
struct bsc_nat_parsed* bsc_nat_parse(struct msgb *msg)