CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2015/03/21 12:32:01

Modified files:
        usr.sbin/ldpd  : interface.c kroute.c ldpd.h ldpe.c ldpe.h 

Log message:
Remove interface finite state machine.

In the name of simplicity, remove the interface FSM that was inherited
from ospfd. In ldpd interfaces are just up or down, so keeping a
FSM for that is an overkill. Now instead of calling if_fsm(), just
call if_update() whenever a relevant event occurs (status change,
address addition/removal).

Additional notes:
1 - s/if_act_/if_/

2 - Remove the IMSG_IFUP and IMSG_IFDOWN events. Now whenever an
interface changes its state a IMSG_IFSTATUS event will be generated
with the new status.

kroute.c ldpd.h ldpe.c ldpe.h CVS:
----------------------------------------------------------------------

Reply via email to