aboutsummaryrefslogtreecommitdiffstats
path: root/src/links.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-15 11:18:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-17 19:34:27 +0100
commit599c9a4b9aa3faa0b9c05dfcf6057ad9ccd4dfa6 (patch)
tree40716cc4f1523af395aaa4902458faabc74389e2 /src/links.c
parent2ff47b8606d93a301cf6cecb0d32fa4b77f5c5c9 (diff)
mtp: Allocate the MTPLinkSet as a child of the BSC
In preparation of the VTY code change, make the mtp linkset a child of the bsc.
Diffstat (limited to 'src/links.c')
-rw-r--r--src/links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/links.c b/src/links.c
index b694b8c..b74d843 100644
--- a/src/links.c
+++ b/src/links.c
@@ -106,7 +106,7 @@ struct mtp_link_set *link_init(struct bsc_data *bsc)
struct mtp_udp_link *lnk;
struct mtp_link_set *set;
- set = mtp_link_set_alloc();
+ set = mtp_link_set_alloc(bsc);
set->name = talloc_strdup(set, "MTP");
set->dpc = bsc->dpc;
set->opc = bsc->opc;