summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-06-05 11:49:24 +0200
committerdimitri staessens <[email protected]>2017-06-05 11:49:24 +0200
commit06e0641af9ad9f07c2a2120984e60add98ef9cfc (patch)
tree9453864955478fe5a239f5d66671ed143dcbae69 /src
parent5b384409515fa7cef7d33d92585582e9fa028934 (diff)
downloadouroboros-06e0641af9ad9f07c2a2120984e60add98ef9cfc.tar.gz
ouroboros-06e0641af9ad9f07c2a2120984e60add98ef9cfc.zip
ipcpd: Fix routing type configuration
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/ipcp.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 4737b1cd..e86487af 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -222,12 +222,13 @@ static void * ipcp_main_loop(void * o)
break;
}
if (conf_msg->ipcp_type == IPCP_NORMAL) {
- conf.addr_size = conf_msg->addr_size;
- conf.fd_size = conf_msg->fd_size;
- conf.has_ttl = conf_msg->has_ttl;
+ conf.addr_size = conf_msg->addr_size;
+ conf.fd_size = conf_msg->fd_size;
+ conf.has_ttl = conf_msg->has_ttl;
conf.addr_auth_type = conf_msg->addr_auth_type;
- conf.dt_gam_type = conf_msg->dt_gam_type;
- conf.rm_gam_type = conf_msg->rm_gam_type;
+ conf.dt_gam_type = conf_msg->dt_gam_type;
+ conf.rm_gam_type = conf_msg->rm_gam_type;
+ conf.routing_type = conf_msg->routing_type;
}
if (conf_msg->ipcp_type == IPCP_SHIM_UDP) {