diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2024-01-21 10:59:17 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2024-01-31 10:27:56 +0100 |
commit | 02f68ff5ccc637b2177f832a4f7ddf4f9f737d22 (patch) | |
tree | eeef68d751d4feb0c95b3831b3e325d45ca9bc9b /src/irmd/reg/ipcp.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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/reg/ipcp.c')
-rw-r--r-- | src/irmd/reg/ipcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/reg/ipcp.c b/src/irmd/reg/ipcp.c index de4b2f1e..c1d06d94 100644 --- a/src/irmd/reg/ipcp.c +++ b/src/irmd/reg/ipcp.c @@ -134,7 +134,7 @@ int reg_ipcp_wait_boot(struct reg_ipcp * ipcp) pthread_cond_signal(&ipcp->cond); } - if (ipcp->state != IPCP_LIVE) { + if (ipcp->state != IPCP_OPERATIONAL) { pthread_mutex_unlock(&ipcp->mtx); return -1; } |