aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_stp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_stp.c')
-rw-r--r--src/main_stp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main_stp.c b/src/main_stp.c
index a957478..1ae2e11 100644
--- a/src/main_stp.c
+++ b/src/main_stp.c
@@ -249,13 +249,14 @@ int main(int argc, char **argv)
bsc.m2ua_set->isup_opc = 9;
bsc.m2ua_set->ni = 3;
bsc.m2ua_set->bsc = &bsc;
+ bsc.m2ua_set->pcap_fd = bsc.pcap_fd;
/* for both links we want to have all isup messages */
bsc.m2ua_set->pass_all_isup = 1;
bsc.link_set->pass_all_isup = 1;
lnk = sctp_m2ua_transp_create("0.0.0.0", 2904);
- lnk->base.pcap_fd = bsc.pcap_fd;
+ lnk->base.pcap_fd = -1;
mtp_link_set_add_link(bsc.m2ua_set, (struct mtp_link *) lnk);
llist_for_each_entry(data, &bsc.m2ua_set->links, entry)