aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 09:07:39 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-05 09:07:39 +0200
commit729d468fdf196fb674127e053ec8a058858655f5 (patch)
treedbb2136b8a7d1f29f6a8b4a2455d05974beb32a7 /openbsc
parentb37ce4c5a419e872558f51eac713168bb5b54277 (diff)
nat: No need to match \r\n when parsing the C: N
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/nat/bsc_mgcp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c
index 2b28305a8..74ef67bb5 100644
--- a/openbsc/src/nat/bsc_mgcp_utils.c
+++ b/openbsc/src/nat/bsc_mgcp_utils.c
@@ -249,7 +249,7 @@ int bsc_mgcp_extract_ci(const char *str)
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;
}