diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-24 04:41:28 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-24 04:41:28 +0800 |
commit | cf1c8777a4a2bcca7b6735a53b05932f75c2ef10 (patch) | |
tree | 234258704ee64e87017e5b4aee23a7a75d757367 /openbsc | |
parent | cd8e810302c089826723f80fc36c1fc4dc7b4385 (diff) |
mgcp: Return 0 in case transcoding is disabled.
In case transcoding is disabled no error has happened, return
a zero. This is fixing starting the nat without transcoding.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/mgcp/mgcp_protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/mgcp/mgcp_protocol.c b/openbsc/src/mgcp/mgcp_protocol.c index d1699e17f..840bc14c2 100644 --- a/openbsc/src/mgcp/mgcp_protocol.c +++ b/openbsc/src/mgcp/mgcp_protocol.c @@ -955,7 +955,7 @@ static void delete_transcoder(struct mgcp_endpoint *endp) int mgcp_reset_transcoder(struct mgcp_config *cfg) { if (!cfg->transcoder_ip) - return -1; + return 0; static const char mgcp_reset[] = { "RSIP 1 13@mgw MGCP 1.0\r\n" |