diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-16 23:47:25 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-17 19:34:28 +0100 |
commit | b27c9626e8e1c17e5100dab664d6d904ce2f65ac (patch) | |
tree | 10a70e904c7b63a2840db239a95d540172971d58 /src/main_stp.c | |
parent | a33b23f29390b28dfc32bb4fef4f8be418307e2a (diff) |
mtp: Remove the bsc pointer from the MTP LinkSet
Diffstat (limited to 'src/main_stp.c')
-rw-r--r-- | src/main_stp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main_stp.c b/src/main_stp.c index 6af392e..0a502b4 100644 --- a/src/main_stp.c +++ b/src/main_stp.c @@ -262,7 +262,6 @@ int main(int argc, char **argv) m2ua_set->sccp_opc = 9; m2ua_set->isup_opc = 9; m2ua_set->ni = 3; - m2ua_set->bsc = bsc; m2ua_set->pcap_fd = bsc->pcap_fd; m2ua_set->name = talloc_strdup(m2ua_set, "M2UA"); @@ -270,7 +269,7 @@ int main(int argc, char **argv) set->pass_all_isup = bsc->isup_pass; m2ua_set->pass_all_isup = bsc->isup_pass; - lnk = mtp_m2ua_link_create(m2ua_set); + lnk = mtp_m2ua_link_create(bsc->m2ua_trans, m2ua_set); lnk->base.pcap_fd = -1; mtp_link_set_add_link(m2ua_set, (struct mtp_link *) lnk); |