aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_udt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_udt.c')
-rw-r--r--src/main_udt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_udt.c b/src/main_udt.c
index b8d754e..f13d4dd 100644
--- a/src/main_udt.c
+++ b/src/main_udt.c
@@ -104,7 +104,7 @@ static void sigint()
printf("Terminating.\n");
handled = 1;
if (bsc.setup)
- bsc.link_set->link->shutdown(bsc.link_set->link);
+ link_shutdown_all(bsc.link_set);
exit(0);
out: