aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_stp.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-17 02:18:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-17 19:34:28 +0100
commit6c0b2e570c56b79ccb4e0905e3d2288fc55443e2 (patch)
tree4aebbcbe745244fad732c751be9c969b508b96ed /src/main_stp.c
parentea247c1d0a30362afd4602acdcd595b4afd616ec (diff)
mtp: Make the mtp_link point to a specific type of link
We might want to be able to change the type of a link at runtime. Decouple the link and the actual type of the link.
Diffstat (limited to 'src/main_stp.c')
-rw-r--r--src/main_stp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main_stp.c b/src/main_stp.c
index a4694b9..ba204a7 100644
--- a/src/main_stp.c
+++ b/src/main_stp.c
@@ -275,8 +275,6 @@ int main(int argc, char **argv)
m2ua_set->pass_all_isup = bsc->isup_pass;
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);
ss7_application_setup(app, APP_STP,
SS7_SET_LINKSET, 0,