commit | 806aca94c24a554ebec0b4786b262a149de1cfd8 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Apr 05 09:07:39 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:11 2010 +0800 |
tree | f1cc8861d723a146bae2dd980934e599d3205db6 | |
parent | 9e5300ada6f24306bf70e4b8dc2634a47e9bf424 [diff] |
nat: No need to match \r\n when parsing the C: N
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 2b28305..74ef67b 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c
@@ -249,7 +249,7 @@ if (!res) return CI_UNUSED; - if (sscanf(res, "I: %d\r\n", &ci) != 1) + if (sscanf(res, "I: %d", &ci) != 1) return CI_UNUSED; return ci; }