aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_sccp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-18 01:12:03 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:14 +0800
commit8b5100698b025d9ca6eb18bdea71470af7e25436 (patch)
tree4005551e16a76415ef490651133ca589653c84de /openbsc/src/nat/bsc_sccp.c
parentd6b616a388a096ca45206a1bcb84ce7079f4a1da (diff)
nat: Add new connections to the end of the list
By adding them to the end the VTY interface will only append connections and not change the order on each invocation.
Diffstat (limited to 'openbsc/src/nat/bsc_sccp.c')
-rw-r--r--openbsc/src/nat/bsc_sccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_sccp.c b/openbsc/src/nat/bsc_sccp.c
index 176f06a89..3906bc988 100644
--- a/openbsc/src/nat/bsc_sccp.c
+++ b/openbsc/src/nat/bsc_sccp.c
@@ -99,7 +99,7 @@ int create_sccp_src_ref(struct bsc_connection *bsc, struct msgb *msg, struct bsc
return -1;
}
- llist_add(&conn->list_entry, &bsc->nat->sccp_connections);
+ llist_add_tail(&conn->list_entry, &bsc->nat->sccp_connections);
counter_inc(bsc->cfg->stats.sccp.conn);
counter_inc(bsc->cfg->nat->stats.sccp.conn);