summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
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-link.c
parent12e0f830f592ec4c6bb49ac7ae1e0e84f74105e3 (diff)
networkd: handle SIGINT and SIGTERM
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index e2d61ae490..1f495b38bb 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -35,6 +35,8 @@ int link_new(Manager *manager, struct udev_device *device, Link **ret) {
const char *ifname;
int r;
+ assert(manager);
+ assert(manager->links);
assert(device);
assert(ret);