diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2011-02-18 14:32:56 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-13 14:07:11 +0200 |
commit | a86bc39cc9b37eca2ec9ddd8ea635667720967eb (patch) | |
tree | 46303280f1408eb33d21f0caae2ff99d00b9b5c2 /openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | |
parent | fc5391f54e5d522c97bfda139e9089ab9141e10a (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.c | 1 |
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; } |