summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-07-25 12:50:46 +0200
committerSander Vrijders <[email protected]>2019-07-29 19:36:45 +0200
commitdae15c284248d49079ad5f8a3d8ff30e217f419e (patch)
treeea7942e940396c0c78304fef8b43fb25c5aebba8 /src/lib
parentc9232acef855b51d1bc199a68c03c0695ac11192 (diff)
downloadouroboros-dae15c284248d49079ad5f8a3d8ff30e217f419e.tar.gz
ouroboros-dae15c284248d49079ad5f8a3d8ff30e217f419e.zip
build: Refactor normal to unicast
This completes the renaming of the normal IPCP to the unicast IPCP in the sources, to get everything consistent with the documentation. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ipcp_config.proto2
-rw-r--r--src/lib/irm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ipcp_config.proto b/src/lib/ipcp_config.proto
index 051a3888..2e131f5e 100644
--- a/src/lib/ipcp_config.proto
+++ b/src/lib/ipcp_config.proto
@@ -30,7 +30,7 @@ message layer_info_msg {
message ipcp_config_msg {
required layer_info_msg layer_info = 1;
required int32 ipcp_type = 2;
- // Config for normal IPCP
+ // Config for unicast IPCP
optional uint32 addr_size = 3;
optional uint32 eid_size = 4;
optional uint32 max_ttl = 5;
diff --git a/src/lib/irm.c b/src/lib/irm.c
index 6356443f..183be95e 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -121,7 +121,7 @@ int irm_bootstrap_ipcp(pid_t pid,
layer_info.dir_hash_algo = conf->layer_info.dir_hash_algo;
switch (conf->type) {
- case IPCP_NORMAL:
+ case IPCP_UNICAST:
config.has_addr_size = true;
config.addr_size = conf->addr_size;
config.has_eid_size = true;