diff options
author | Dimitri Staessens <[email protected]> | 2023-11-27 14:43:10 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-11-29 09:57:29 +0100 |
commit | 3f24301fff9c544dfe2b89c5737bc3cdf94ef9a9 (patch) | |
tree | 35e04e27e4a0e11c91fe3aa201004ac1d83a72e0 /src/ipcpd/udp/main.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 <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/udp/main.c')
-rw-r--r-- | src/ipcpd/udp/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/udp/main.c b/src/ipcpd/udp/main.c index ddcf1a5b..b189dce3 100644 --- a/src/ipcpd/udp/main.c +++ b/src/ipcpd/udp/main.c @@ -595,7 +595,7 @@ static int udp_ipcp_bootstrap(const struct ipcp_config * conf) ((struct ipcp_config *) conf)->layer_info.dir_hash_algo = HASH_MD5; ipcpi.dir_hash_algo = conf->layer_info.dir_hash_algo; - strcpy(ipcpi.layer_name, conf->layer_info.layer_name); + strcpy(ipcpi.layer_name, conf->layer_info.name); if (inet4_ntop(&conf->udp.ip_addr, ipstr) == NULL) { log_err("Failed to convert IP address."); |