From a380c89a9c7bb753ecc5e557373ac675cb5d0ac0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 18 Apr 2010 01:12:03 +0800 Subject: 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. --- openbsc/src/nat/bsc_sccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src') 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); -- cgit v1.2.3