aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-07 16:54:46 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-07 16:54:46 +0100
commit368a0a73d4f673c9baa8dc61585e7868fea923c3 (patch)
tree03ac29429cfb01d0b7167c4c2056751f9b4bb982 /openbsc/src/nat/bsc_nat_utils.c
parent45c2184c7e02861b9089555dc72f11cd91bd6901 (diff)
ipa: Only use one IPA number for Osmo extensions
Instead of using more numbers from the proto range we will use the 0xee and then have a mini header with our new proto id in there. For a start rename the use types to _OLD.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index 05868f947..aba082d4d 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -262,7 +262,7 @@ int bsc_write_mgcp(struct bsc_connection *bsc, const uint8_t *data, unsigned int
msg->l3h = msgb_put(msg, length);
memcpy(msg->l3h, data, length);
- return bsc_write(bsc, msg, IPAC_PROTO_MGCP);
+ return bsc_write(bsc, msg, IPAC_PROTO_MGCP_OLD);
}
int bsc_write(struct bsc_connection *bsc, struct msgb *msg, int proto)