From dae15c284248d49079ad5f8a3d8ff30e217f419e Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Thu, 25 Jul 2019 12:50:46 +0200 Subject: 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 Signed-off-by: Sander Vrijders --- src/lib/ipcp_config.proto | 2 +- src/lib/irm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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; -- cgit v1.2.3