summaryrefslogtreecommitdiff
path: root/src/ipcpd/broadcast
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/broadcast')
-rw-r--r--src/ipcpd/broadcast/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/broadcast/main.c b/src/ipcpd/broadcast/main.c
index de1feeb2..e3e323a8 100644
--- a/src/ipcpd/broadcast/main.c
+++ b/src/ipcpd/broadcast/main.c
@@ -56,7 +56,7 @@ struct ipcp ipcpi;
static int initialize_components(const struct ipcp_config * conf)
{
- strcpy(ipcpi.layer_name, conf->layer_info.layer_name);
+ strcpy(ipcpi.layer_name, conf->layer_info.name);
ipcpi.dir_hash_algo = conf->layer_info.dir_hash_algo;
assert(ipcp_dir_hash_len() != 0);
@@ -147,7 +147,7 @@ static int broadcast_ipcp_enroll(const char * dst,
log_info_id(id, "Enrolled with %s.", dst);
info->dir_hash_algo = ipcpi.dir_hash_algo;
- strcpy(info->layer_name, ipcpi.layer_name);
+ strcpy(info->name, ipcpi.layer_name);
return 0;