diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-30 13:44:32 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-30 13:44:32 +0800 |
commit | f7c86c5b4d8f7d909595c0f01fcfaf5da4c4e7c4 (patch) | |
tree | 9867e89b58271d425df60fffa312c5ea8529e49d /openbsc/include/openbsc | |
parent | bf812fa83cfff25540e29166246ca71d8ddf0de9 (diff) |
nat: Replace the MGCP Endpoint if that is required
Add code to replace the Endpoint number for the mgcp.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 11c24dc60..25b6429c4 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -264,7 +264,7 @@ void bsc_mgcp_free_endpoints(struct bsc_nat *nat); int bsc_mgcp_nat_init(struct bsc_nat *nat); struct sccp_connections *bsc_mgcp_find_con(struct bsc_nat *, int endpoint_number); -struct msgb *bsc_mgcp_rewrite(char *input, int length, const char *ip, int port); +struct msgb *bsc_mgcp_rewrite(char *input, int length, int endp, const char *ip, int port); void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg); void bsc_mgcp_clear_endpoints_for(struct bsc_connection *bsc); |