diff options
author | Sander Vrijders <[email protected]> | 2016-10-31 19:47:45 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-11-01 09:38:20 +0100 |
commit | 2d88fdaaa018d607eca5ce057dfbdf41beb6125b (patch) | |
tree | f5085671663fa6798065d283619b6e8997e0f51b /src/lib/irm.c | |
parent | 72eb9eed1284643db20c45ef82365fa54fd0ef1c (diff) | |
download | ouroboros-2d88fdaaa018d607eca5ce057dfbdf41beb6125b.tar.gz ouroboros-2d88fdaaa018d607eca5ce057dfbdf41beb6125b.zip |
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.
Diffstat (limited to 'src/lib/irm.c')
-rw-r--r-- | src/lib/irm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |