aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-16 16:52:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-16 16:52:20 +0200
commite8a9f471efcf72cae0e9d50ec0b8fea379fe7ac0 (patch)
tree3b176a9346c6b09e5c5116692ca4baba80eabedd /openbsc/src/nat/bsc_nat_utils.c
parentc2d66bdf5aaa12f264c4e9114bcad2ee62956f63 (diff)
nat: Two fixes for the write memory case...
Add new BSCs to the tail so we keep the sort order when writing them out to the vty, fix the LAC command.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index 08fd57e18..1ec48ee0d 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -74,7 +74,7 @@ struct bsc_config *bsc_config_alloc(struct bsc_nat *nat, const char *token, unsi
conf->nr = nat->num_bsc;
conf->nat = nat;
- llist_add(&conf->entry, &nat->bsc_configs);
+ llist_add_tail(&conf->entry, &nat->bsc_configs);
++nat->num_bsc;
conf->stats.sccp.conn = counter_alloc("nat.bsc.sccp.conn");