diff options
author | Sander Vrijders <[email protected]> | 2017-08-10 15:33:36 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-10 15:44:09 +0200 |
commit | cf18d69d1e8b238c82940b4ea8173436bd53a1ce (patch) | |
tree | 072770c8575c0f5d8248ff5a4a3afa4388fe455c /src/ipcpd/ipcp.c | |
parent | f3d2ce1e668dfcf6b5088bf448b29f96d0ddaa76 (diff) | |
download | ouroboros-cf18d69d1e8b238c82940b4ea8173436bd53a1ce.tar.gz ouroboros-cf18d69d1e8b238c82940b4ea8173436bd53a1ce.zip |
lib, ipcpd, tools: Fix enum assignments
This fixes several assignments to the wrong enum type.
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r-- | src/ipcpd/ipcp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index b2afdf99..b54bf0b7 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -174,11 +174,6 @@ static void * mainloop(void * o) conf.type = conf_msg->ipcp_type; strcpy(conf.dif_info.dif_name, conf_msg->dif_info->dif_name); - if (conf.dif_info.dif_name == NULL) { - log_err("No DIF name provided."); - ret_msg.result = -1; - break; - } if (conf_msg->ipcp_type == IPCP_NORMAL) { conf.addr_size = conf_msg->addr_size; conf.fd_size = conf_msg->fd_size; |