diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-07 11:30:21 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-07 11:34:50 +0100 |
commit | f43f2fce82fd115c88b6e50837b41f480e9b384e (patch) | |
tree | 2d05da463752d0db4baddda4d53daaa81c1cb958 /openbsc/tests/mgcp/mgcp_test.c | |
parent | 9f239a2a0f8b53eb10a7226271eb599ddbfcffb6 (diff) |
mgcp: We want to count trunks starting from one.
Diffstat (limited to 'openbsc/tests/mgcp/mgcp_test.c')
-rw-r--r-- | openbsc/tests/mgcp/mgcp_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c index 558fbff5e..c03936521 100644 --- a/openbsc/tests/mgcp/mgcp_test.c +++ b/openbsc/tests/mgcp/mgcp_test.c @@ -27,7 +27,7 @@ static struct msgb *create_auep1() struct msgb *msg; msg = msgb_alloc_headroom(4096, 128, "MGCP msg"); - int len = sprintf((char *)msg->data, "AUEP 158663169 ds/e1-0/2@172.16.6.66 MGCP 1.0\r\n"); + int len = sprintf((char *)msg->data, "AUEP 158663169 ds/e1-1/2@172.16.6.66 MGCP 1.0\r\n"); msg->l2h = msgb_put(msg, len); return msg; } @@ -37,7 +37,7 @@ static struct msgb *create_auep2() struct msgb *msg; msg = msgb_alloc_headroom(4096, 128, "MGCP msg"); - int len = sprintf((char *)msg->data, "AUEP 18983213 ds/e1-1/1@172.16.6.66 MGCP 1.0\r\n"); + int len = sprintf((char *)msg->data, "AUEP 18983213 ds/e1-2/1@172.16.6.66 MGCP 1.0\r\n"); msg->l2h = msgb_put(msg, len); return msg; } |