diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-31 00:13:49 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-31 00:13:49 +0200 |
commit | 8ae194b922f9a93643bfe5c49dd994707c151d5f (patch) | |
tree | 8b5bcf6c1cb132ee4928a6630463bf35285148a7 /openbsc | |
parent | 645ce0312ba9191521f67b798e410564d38e79bd (diff) |
NAT: Fix uninitialized variable, only send X-ow for the CRCX...
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c index ddeb2413c..8f325b257 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c +++ b/openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c @@ -538,7 +538,7 @@ struct msgb *bsc_mgcp_rewrite(char *input, int length, int endpoint, char buf[128]; char *running, *token; struct msgb *output; - int is_crcx; + int is_crcx = 0; if (length > 4096 - 128) { LOGP(DMGCP, LOGL_ERROR, "Input is too long.\n"); |