summaryrefslogtreecommitdiff
path: root/src/lib/irm.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-04-11 17:01:47 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-04-11 17:01:47 +0200
commit9906ac98c45530e530d7aa439937aedf526c3508 (patch)
treecab5c35acbe4c8a1778fb2809c928a8d488a1111 /src/lib/irm.c
parent60e357b819c8f2cf4dd699e67c496b50410872ac (diff)
downloadouroboros-9906ac98c45530e530d7aa439937aedf526c3508.tar.gz
ouroboros-9906ac98c45530e530d7aa439937aedf526c3508.zip
lib: Change ipcp types
This changes the name of the IPCP types after discussions with Dimitri.
Diffstat (limited to 'src/lib/irm.c')
-rw-r--r--src/lib/irm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c
index 3078e158..70b7b3a5 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -111,7 +111,7 @@ int irm_bootstrap_ipcp(instance_name_t * api,
config.ipcp_type = conf->type;
switch (conf->type) {
- case NORMAL_IPCP:
+ case IPCP_NORMAL:
config.has_addr_size = true;
config.has_cep_id_size = true;
config.has_pdu_length_size = true;
@@ -132,7 +132,7 @@ int irm_bootstrap_ipcp(instance_name_t * api,
config.min_pdu_size = conf->min_pdu_size;
config.max_pdu_size = conf->max_pdu_size;
break;
- case SHIM_UDP_IPCP:
+ case IPCP_SHIM_UDP:
config.has_ip_addr = true;
config.ip_addr = conf->ip_addr;