aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-02-18 14:32:56 +0100
committerHarald Welte <laforge@gnumonks.org>2011-07-13 14:07:11 +0200
commita86bc39cc9b37eca2ec9ddd8ea635667720967eb (patch)
tree46303280f1408eb33d21f0caae2ff99d00b9b5c2 /openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
parentfc5391f54e5d522c97bfda139e9089ab9141e10a (diff)
nat: Use libctrl and add command forwarding to osmo-bsc
Passes commands beginning with "bsc.<num>" to the bsc that is responsible for LAC <num>.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
index 4834340c8..8658c3d9b 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
@@ -129,6 +129,7 @@ struct bsc_connection *bsc_connection_alloc(struct bsc_nat *nat)
con->nat = nat;
osmo_wqueue_init(&con->write_queue, 100);
+ INIT_LLIST_HEAD(&con->cmd_pending);
return con;
}