summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-22 20:19:49 +0100
committerTom Gundersen <teg@jklm.no>2014-02-22 21:24:36 +0100
commit0c2f9b84698b25e6065b9febd21486669a13870f (patch)
tree5ad727137610aeb1a9f56e01f3a9c82c6950d667 /src/network/networkd.h
parent12e0f830f592ec4c6bb49ac7ae1e0e84f74105e3 (diff)
networkd: handle SIGINT and SIGTERM
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index fb0976491c..8307bb5b13 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -201,6 +201,8 @@ struct Manager {
struct udev *udev;
struct udev_monitor *udev_monitor;
sd_event_source *udev_event_source;
+ sd_event_source *sigterm_event_source;
+ sd_event_source *sigint_event_source;
Hashmap *links;
Hashmap *netdevs;