diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-11-27 14:43:10 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-11-29 09:57:29 +0100 |
commit | 3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9 (patch) | |
tree | 35e04e27e4a0e11c91fe3aa201004ac1d83a72e0 /src/irmd/configfile.c | |
parent | c1d679506180bc23241fe14818c0a2dbbcbe3cef (diff) | |
download | ouroboros-3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9.tar.gz ouroboros-3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9.zip |
include: Rename layer.layer_name to layer.name
The layer_info had a member layer_name which is a bit
redundant.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/configfile.c')
-rw-r--r-- | src/irmd/configfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/configfile.c b/src/irmd/configfile.c index 42a8a152..07f31ccf 100644 --- a/src/irmd/configfile.c +++ b/src/irmd/configfile.c @@ -516,13 +516,13 @@ static int toml_ipcp(toml_table_t * table, if (ret < 0) return -1; - strcpy(conf->layer_info.layer_name, bootstrap.u.s); + strcpy(conf->layer_info.name, bootstrap.u.s); free(bootstrap.u.s); if (bootstrap_ipcp(pid, conf) < 0) return -1; - if (toml_autobind(table, pid, name, conf->layer_info.layer_name) < 0) + if (toml_autobind(table, pid, name, conf->layer_info.name) < 0) return -1; if (toml_register(table, pid) < 0) { |