diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-17 22:24:52 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-20 11:37:50 +0100 |
commit | 84899a484c1a38bd487435160e1eaf9619c08b0d (patch) | |
tree | fde96538a6ec5c7214d6b3cb22def4a8862ca335 | |
parent | efbd8c2e807818686fb51d8f0bffb28ce917e02a (diff) |
stp: Set the pcap fd properly... WIP merge this
-rw-r--r-- | src/main_stp.c | 2 |
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); |