summaryrefslogtreecommitdiff
path: root/src/lib/irm.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-11 18:59:11 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-12 13:40:38 +0100
commit15e9b779385c71d366776b83540e19e0735c4e66 (patch)
tree5f4fe39683c0676c243f287840f2775a867c9142 /src/lib/irm.c
parenta991831b5373eba38d6f756d254f151b22790238 (diff)
downloadouroboros-15e9b779385c71d366776b83540e19e0735c4e66.tar.gz
ouroboros-15e9b779385c71d366776b83540e19e0735c4e66.zip
ipcpd: normal: Create policies for GAM
This allows the selection of a policy for the graph adjacency manager. Currently we only support constructing a complete graph.
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 635c8f9b..ade38b6f 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -120,6 +120,7 @@ int irm_bootstrap_ipcp(pid_t api,
config.has_min_pdu_size = true;
config.has_max_pdu_size = true;
config.has_addr_auth_type = true;
+ config.has_dt_gam_type = true;
config.addr_size = conf->addr_size;
config.cep_id_size = conf->cep_id_size;
@@ -131,6 +132,7 @@ int irm_bootstrap_ipcp(pid_t api,
config.min_pdu_size = conf->min_pdu_size;
config.max_pdu_size = conf->max_pdu_size;
config.addr_auth_type = conf->addr_auth_type;
+ config.dt_gam_type = conf->dt_gam_type;
break;
case IPCP_SHIM_UDP:
config.has_ip_addr = true;