summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-04-07 11:48:25 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2014-04-07 11:48:25 +0200
commit1cb0f83d291d9bb3da06067bc2ea838238d5c487 (patch)
treeb9ab15424960d72748b7694fc2f54565246b65fa /nest/proto.c
parent538fec7b1b7dd729eadf1c933e27f59080cd3576 (diff)
Fixes some asserts.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 13a0833a..fc674ed5 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -1235,7 +1235,7 @@ proto_want_core_up(struct proto *p)
static void
proto_want_export_up(struct proto *p)
{
- ASSERT(p->core_state == CS_HAPPY);
+ ASSERT(p->core_state == FS_HAPPY);
ASSERT(p->export_state == ES_DOWN);
proto_link_ahooks(p);
@@ -1258,7 +1258,7 @@ proto_want_export_down(struct proto *p)
static void
proto_want_core_down(struct proto *p)
{
- ASSERT(p->core_state == CS_HAPPY);
+ ASSERT(p->core_state == FS_HAPPY);
ASSERT(p->export_state == ES_DOWN);
p->core_state = FS_FLUSHING;