Revision 79f036ef proto/ospf/neighbor.c

View differences:

proto/ospf/neighbor.c
11 11
char *ospf_ns[]={"down", "attempt", "init", "2way", "exstart", "exchange",
12 12
  "loading", "full"};
13 13

  
14
const char *ospf_inm[]={ "hello received", "neighbor start", "2-way received",
15
  "negotiation done", "exstart done", "bad ls request", "load done",
16
  "adjacency ok?", "sequence mismatch", "1-way received", "kill neighbor",
17
  "inactivity timer", "line down" };
18

  
14 19
void
15 20
neigh_chstate(struct ospf_neighbor *n, u8 state)
16 21
{
......
177 182

  
178 183
  p=(struct proto *)(n->ifa->proto);
179 184

  
185
  DBG("%s: Neighbor state machine for neighbor %I, event \"%s\".\n",
186
    p->name, n->rid, ospf_inm[event]);
187

  
180 188
  switch(event)
181 189
  {
182 190
    case INM_START:

Also available in: Unified diff