From d84023206b9bafc38f4526238693d01b4300feb2 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 13 Jun 2005 08:44:25 +0000 Subject: add a new fsm transition for IF_EVT_WTIMER in state IF_STA_ANY that simply ignores the event. This removes the warning "fsm_if: interface em0, event WAITTIMER not expected in state DROTHER" in case of a quick startup. OK norby@ --- usr.sbin/ospfd/interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ospfd') diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c index 7f6b42db98e..24135063621 100644 --- a/usr.sbin/ospfd/interface.c +++ b/usr.sbin/ospfd/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.26 2005/06/13 08:41:16 claudio Exp $ */ +/* $OpenBSD: interface.c,v 1.27 2005/06/13 08:44:24 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -56,6 +56,7 @@ struct { {IF_STA_DOWN, IF_EVT_UP, IF_ACT_STRT, 0}, {IF_STA_WAITING, IF_EVT_BACKUP_SEEN, IF_ACT_ELECT, 0}, {IF_STA_WAITING, IF_EVT_WTIMER, IF_ACT_ELECT, 0}, + {IF_STA_ANY, IF_EVT_WTIMER, IF_ACT_NOTHING, 0}, {IF_STA_WAITING, IF_EVT_NBR_CHNG, IF_ACT_NOTHING, 0}, {IF_STA_MULTI, IF_EVT_NBR_CHNG, IF_ACT_ELECT, 0}, {IF_STA_ANY, IF_EVT_NBR_CHNG, IF_ACT_NOTHING, 0}, -- cgit v1.2.3