summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-helper-transport-wlan-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-helper-transport-wlan-dummy.c')
-rw-r--r--src/transport/gnunet-helper-transport-wlan-dummy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan-dummy.c b/src/transport/gnunet-helper-transport-wlan-dummy.c
index d07b1f8f6..e6be00a73 100644
--- a/src/transport/gnunet-helper-transport-wlan-dummy.c
+++ b/src/transport/gnunet-helper-transport-wlan-dummy.c
@@ -314,7 +314,8 @@ main (int argc, char *argv[])
signal (SIGINT, &sigfunc);
signal (SIGTERM, &sigfunc);
-
+ signal (GNUNET_TERM_SIG, &sigfunc);
+
write_std.size = 0;
write_std.pos = 0;
write_pout.size = 0;