aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_stp.c
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-20 11:37:50 +0100
commit84899a484c1a38bd487435160e1eaf9619c08b0d (patch)
treefde96538a6ec5c7214d6b3cb22def4a8862ca335 /src/main_stp.c
parentefbd8c2e807818686fb51d8f0bffb28ce917e02a (diff)
stp: Set the pcap fd properly... WIP merge this
Diffstat (limited to 'src/main_stp.c')
-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);