diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-23 17:00:37 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-23 17:00:37 +0100 |
commit | 41704c2379eda1124c5fc94d5589be6951e5b7ee (patch) | |
tree | 8dcebedf435309473e24f34a2250d794795aae7c /src/ipcpd | |
parent | 9678e275ba0cdb80b5e9efb878fa996d75696a7d (diff) | |
parent | ce5ad7a0697853e7d23030c823c3381ca3f71fef (diff) | |
download | ouroboros-41704c2379eda1124c5fc94d5589be6951e5b7ee.tar.gz ouroboros-41704c2379eda1124c5fc94d5589be6951e5b7ee.zip |
Merge branch 'testing' into be
Diffstat (limited to 'src/ipcpd')
-rw-r--r-- | src/ipcpd/normal/main.c | 6 |
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); |