summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-07-12 15:44:04 +0200
committerSander Vrijders <[email protected]>2016-07-12 15:44:04 +0200
commit3fc1cd9ec6d8473b40461da79176fe3ec41f47fa (patch)
tree0e39c5e9405ba0695eec06c06c77e7e9a22949cb /src/ipcpd/ipcp.c
parent1a35c29ba743424df0cb27408cf08f7022a1c5f5 (diff)
downloadouroboros-3fc1cd9ec6d8473b40461da79176fe3ec41f47fa.tar.gz
ouroboros-3fc1cd9ec6d8473b40461da79176fe3ec41f47fa.zip
lib: Remove N-1 DIF param from enroll operation
This removes the parameter N-1 DIF from the enroll operation. IPCPs should just allocate a flow to a DIF name and let the N-1 DIF resolve it.
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r--src/ipcpd/ipcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 444d17bb..fb31cf1b 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -184,8 +184,7 @@ void * ipcp_main_loop(void * o)
}
ret_msg.has_result = true;
ret_msg.result =
- _ipcp->ops->ipcp_enroll(msg->dif_name,
- msg->n_1_dif);
+ _ipcp->ops->ipcp_enroll(msg->dif_name);
break;
case IPCP_MSG_CODE__IPCP_NAME_REG: