From 2d88fdaaa018d607eca5ce057dfbdf41beb6125b Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 31 Oct 2016 19:47:45 +0100 Subject: ipcpd: normal: Add policy for obtaining a flat address This adds a policy for obtaining a flat address, and thus also the infrastructure for policies in the IPCP. The IPCP should check if the address is available; this is currently not there yet. --- src/lib/irm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/irm.c') diff --git a/src/lib/irm.c b/src/lib/irm.c index c68aa0f6..b1998145 100644 --- a/src/lib/irm.c +++ b/src/lib/irm.c @@ -119,6 +119,7 @@ int irm_bootstrap_ipcp(pid_t api, config.has_has_chk = true; config.has_min_pdu_size = true; config.has_max_pdu_size = true; + config.has_addr_auth_type = true; config.addr_size = conf->addr_size; config.cep_id_size = conf->cep_id_size; @@ -129,6 +130,7 @@ int irm_bootstrap_ipcp(pid_t api, config.has_chk = conf->has_chk; config.min_pdu_size = conf->min_pdu_size; config.max_pdu_size = conf->max_pdu_size; + config.addr_auth_type = conf->addr_auth_type; break; case IPCP_SHIM_UDP: config.has_ip_addr = true; -- cgit v1.2.3