From f224dbb901842b021e231e4f3d7c42e62babcdb3 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 8 Jul 2016 13:34:38 +0200 Subject: ipcpd: Deprecate ipcp_reg/ipcp_unreg --- src/ipcpd/ipcp.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/ipcpd/ipcp.c') diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 28004a92..444d17bb 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -188,27 +188,6 @@ void * ipcp_main_loop(void * o) msg->n_1_dif); break; - - case IPCP_MSG_CODE__IPCP_REG: - if (_ipcp->ops->ipcp_reg == NULL) { - LOG_ERR("Reg unsupported."); - break; - - } - ret_msg.has_result = true; - ret_msg.result = - _ipcp->ops->ipcp_reg(msg->dif_names, msg->len); - break; - case IPCP_MSG_CODE__IPCP_UNREG: - if (_ipcp->ops->ipcp_unreg == NULL) { - LOG_ERR("Unreg unsupported."); - break; - } - ret_msg.has_result = true; - ret_msg.result = - _ipcp->ops->ipcp_unreg(msg->dif_names, - msg->len); - break; case IPCP_MSG_CODE__IPCP_NAME_REG: if (_ipcp->ops->ipcp_name_reg == NULL) { LOG_ERR("Ap_reg unsupported."); -- cgit v1.2.3