summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-06-05 19:16:53 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-06-05 19:16:53 +0000
commitd38da8b1deae62a57d24e7da94a9c25abbf2f438 (patch)
treedc3a15846f54d1368f458b6f76137bec209db73e /src/ipcpd
parent256179707219f6e3b6b6a86afa6cb11e674434eb (diff)
parent06e0641af9ad9f07c2a2120984e60add98ef9cfc (diff)
downloadouroboros-d38da8b1deae62a57d24e7da94a9c25abbf2f438.tar.gz
ouroboros-d38da8b1deae62a57d24e7da94a9c25abbf2f438.zip
Merged in dstaesse/ouroboros/be-routing-type (pull request #516)
ipcpd: Fix routing type configuration
Diffstat (limited to 'src/ipcpd')
-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) {