summaryrefslogtreecommitdiff
path: root/src/lib/irm.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-05-15 18:08:53 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-05-15 18:21:45 +0200
commit5d87cec1757c4e1c23ae778f2814363c1e39b43c (patch)
treeea57e4a1e634d3b7e7325b61f6dba36d941e03ae /src/lib/irm.c
parent0fc0f3701ef4f504e71eadcc92a93faf1dd33bf4 (diff)
downloadouroboros-5d87cec1757c4e1c23ae778f2814363c1e39b43c.tar.gz
ouroboros-5d87cec1757c4e1c23ae778f2814363c1e39b43c.zip
ipcpd: normal: Make routing a policy
This makes the routing component into a policy since different approaches may exist to do this, depending on how high the rank of the DIF is.
Diffstat (limited to 'src/lib/irm.c')
-rw-r--r--src/lib/irm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c
index d2f85bbf..68202ad9 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -126,6 +126,8 @@ int irm_bootstrap_ipcp(pid_t api,
config.dt_gam_type = conf->dt_gam_type;
config.has_rm_gam_type = true;
config.rm_gam_type = conf->rm_gam_type;
+ config.has_routing_type = true;
+ config.routing_type = conf->routing_type;
break;
case IPCP_SHIM_UDP:
config.has_ip_addr = true;