mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Dump changes.
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
char *ospf_ns[]={"down", "attempt", "init", "2way", "exstart", "exchange",
|
||||
"loading", "full"};
|
||||
|
||||
const char *ospf_inm[]={ "hello received", "neighbor start", "2-way received",
|
||||
"negotiation done", "exstart done", "bad ls request", "load done",
|
||||
"adjacency ok?", "sequence mismatch", "1-way received", "kill neighbor",
|
||||
"inactivity timer", "line down" };
|
||||
|
||||
void
|
||||
neigh_chstate(struct ospf_neighbor *n, u8 state)
|
||||
{
|
||||
@@ -177,6 +182,9 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
||||
|
||||
p=(struct proto *)(n->ifa->proto);
|
||||
|
||||
DBG("%s: Neighbor state machine for neighbor %I, event \"%s\".\n",
|
||||
p->name, n->rid, ospf_inm[event]);
|
||||
|
||||
switch(event)
|
||||
{
|
||||
case INM_START:
|
||||
|
Reference in New Issue
Block a user