summaryrefslogtreecommitdiffstats
path: root/src/sccp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-26 18:16:11 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-26 18:17:28 +0100
commit039c7adcd5af78ebe93e82df26c2ceaaa9071517 (patch)
treeb34756fe723b002b10364a5e3952188a7f01717b /src/sccp.c
parent4698d27f4c035ab6bfedf6b0d72761648889369b (diff)
sccp: Add a test case for GTI creation, set the SSN indicator bit
Make sure that creating an address that should be routed based on the GTI can be created properly.
Diffstat (limited to 'src/sccp.c')
-rw-r--r--src/sccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sccp.c b/src/sccp.c
index 2845a58..c1cdc79 100644
--- a/src/sccp.c
+++ b/src/sccp.c
@@ -491,7 +491,7 @@ int sccp_create_sccp_addr(struct msgb *msg, const struct sockaddr_sccp *sock)
if (sock->gti)
- ai[0] = 0 << 6 | (sock->gti_ind & 0x0f) << 2;
+ ai[0] = 0 << 6 | (sock->gti_ind & 0x0f) << 2 | 1 << 1;
else
ai[0] = 1 << 6 | 1 << 1;