diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-06-13 08:44:25 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-06-13 08:44:25 +0000 |
commit | d84023206b9bafc38f4526238693d01b4300feb2 (patch) | |
tree | 7cda655a9f414d25c4dfa944003fe7a8d87f9d1d /usr.sbin | |
parent | 3a2d9951f9f18d95fb0b52e6618c9d91edb52089 (diff) |
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@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospfd/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <claudio@openbsd.org> @@ -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}, |