summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-23 17:00:37 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-23 17:00:37 +0100
commit41704c2379eda1124c5fc94d5589be6951e5b7ee (patch)
tree8dcebedf435309473e24f34a2250d794795aae7c /src/ipcpd
parent9678e275ba0cdb80b5e9efb878fa996d75696a7d (diff)
parentce5ad7a0697853e7d23030c823c3381ca3f71fef (diff)
downloadouroboros-41704c2379eda1124c5fc94d5589be6951e5b7ee.tar.gz
ouroboros-41704c2379eda1124c5fc94d5589be6951e5b7ee.zip
Merge branch 'testing' into be
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/normal/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 9ce2383d..522daa3b 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -342,10 +342,8 @@ static int normal_ipcp_bootstrap(struct dif_config * conf)
(void) pol;
- if (conf == NULL || conf->type != THIS_TYPE) {
- log_err("Bad DIF configuration.");
- return -EINVAL;
- }
+ assert(conf);
+ assert(conf->type == THIS_TYPE);
pthread_rwlock_wrlock(&ipcpi.state_lock);