diff options
author | Dimitri Staessens <[email protected]> | 2024-01-21 10:59:17 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2024-01-31 10:27:56 +0100 |
commit | 02f68ff5ccc637b2177f832a4f7ddf4f9f737d22 (patch) | |
tree | eeef68d751d4feb0c95b3831b3e325d45ca9bc9b /src/ipcpd/local/main.c | |
parent | 396c311842ae7d138c13a6d054e1978d95af4c63 (diff) | |
download | ouroboros-02f68ff5ccc637b2177f832a4f7ddf4f9f737d22.tar.gz ouroboros-02f68ff5ccc637b2177f832a4f7ddf4f9f737d22.zip |
include: Use common definition between lib and IRMd
Some definitions/enums were different between the library and IRMd
(flow_state, ipcp_state). This moves them to common ground.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/local/main.c')
-rw-r--r-- | src/ipcpd/local/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c index 213b6538..717e35ce 100644 --- a/src/ipcpd/local/main.c +++ b/src/ipcpd/local/main.c @@ -144,7 +144,7 @@ static int local_ipcp_bootstrap(const struct ipcp_config * conf) assert(conf); assert(conf->type == THIS_TYPE); - ipcpi.dir_hash_algo = conf->layer_info.dir_hash_algo; + ipcpi.dir_hash_algo = (enum hash_algo) conf->layer_info.dir_hash_algo; strcpy(ipcpi.layer_name,conf->layer_info.name); if (pthread_create(&local_data.packet_loop, NULL, |