From 06e0641af9ad9f07c2a2120984e60add98ef9cfc Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Mon, 5 Jun 2017 11:49:24 +0200 Subject: ipcpd: Fix routing type configuration --- src/ipcpd/ipcp.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3