diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-18 01:12:03 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-18 02:40:31 +0800 |
commit | a380c89a9c7bb753ecc5e557373ac675cb5d0ac0 (patch) | |
tree | da29aa899346362296b7aaf1b3aa6eb7971e1f5e /openbsc/src/nat/bsc_sccp.c | |
parent | bedaf5da64df4ee816a278f267b9c1ba9f251bd8 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_sccp.c b/openbsc/src/nat/bsc_sccp.c index ff98b1b6c..075a8f6ad 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); |