diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-22 20:57:08 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-23 15:25:35 +0100 |
commit | 7176030e02ca59d5b4ee015f24ee2bf733eeed8e (patch) | |
tree | eed6a2bb6bd74d365a09e77cbdc875bfcac689ed /src/mtp_layer3.c | |
parent | 2917644d503b706f0df5cf7228fc284a79436e31 (diff) |
vty: Add all mighty new vty interface for osmo-stp
This new interface allows to have multiple linksets, msc
connections and ways to connect those in one instance of
the osmo-stp. Forbid to reset linksets without an app.
Diffstat (limited to 'src/mtp_layer3.c')
-rw-r--r-- | src/mtp_layer3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c index 08ea323..0ceb7b0 100644 --- a/src/mtp_layer3.c +++ b/src/mtp_layer3.c @@ -609,6 +609,9 @@ struct mtp_link_set *mtp_link_set_alloc(struct bsc_data *bsc) INIT_LLIST_HEAD(&link->links); link->nr = bsc->num_linksets++; + link->sccp_opc = link->isup_opc = -1; + link->pcap_fd = bsc->pcap_fd; + link->bsc = bsc; llist_add_tail(&link->entry, &bsc->linksets); return link; |