aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 22:24:52 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 22:24:52 +0100
commit0512cbde66928377920664c3f31ee3a5a1fcf184 (patch)
tree3b930679f37fe8f42c7152edf79be5428007d036
parent079c85b0745f3e4371e8560db6e3b76afb054a17 (diff)
stp: Set the pcap fd properly... WIP merge this
-rw-r--r--src/main_stp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_stp.c b/src/main_stp.c
index 4f93416..c9a790b 100644
--- a/src/main_stp.c
+++ b/src/main_stp.c
@@ -251,7 +251,7 @@ int main(int argc, char **argv)
bsc.link_set->pass_all_isup = 1;
lnk = sctp_m2ua_transp_create("0.0.0.0", 2904);
- lnk->base.pcap_fd = -1;
+ lnk->base.pcap_fd = bsc.pcap_fd;
lnk->base.the_link = bsc.m2ua_set;
mtp_link_set_add_link(bsc.m2ua_set, (struct mtp_link *) lnk);