summaryrefslogtreecommitdiff
path: root/src/irmd/reg/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/reg/ipcp.c')
-rw-r--r--src/irmd/reg/ipcp.c2
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;
}