summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/irm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c
index 9ee9e9e0..828bdfe6 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -108,7 +108,6 @@ int irm_bootstrap_ipcp(pid_t api,
msg.conf = &config;
dif_info.dif_name = (char *) conf->dif_info.dif_name;
- dif_info.dir_hash_algo = conf->dif_info.dir_hash_algo;
config.ipcp_type = conf->type;
@@ -128,6 +127,7 @@ int irm_bootstrap_ipcp(pid_t api,
config.rm_gam_type = conf->rm_gam_type;
config.has_routing_type = true;
config.routing_type = conf->routing_type;
+ dif_info.dir_hash_algo = conf->dif_info.dir_hash_algo;
break;
case IPCP_SHIM_UDP:
config.has_ip_addr = true;