Bugfix in neighbor dumping.

This commit is contained in:
Ondrej Filip 2000-04-18 19:56:43 +00:00
parent 9eada7ca03
commit 48f5a61f69

View file

@ -27,7 +27,7 @@ neigh_chstate(struct ospf_neighbor *n, u8 state)
ifa=n->ifa; ifa=n->ifa;
p=(struct proto *)(ifa->proto); p=(struct proto *)(ifa->proto);
debug("%s: Neigbor %I changes state from \"%u\" to \"%u\".\n", debug("%s: Neigbor %I changes state from \"%s\" to \"%s\".\n",
p->name, n->rid, ospf_ns[n->state], ospf_ns[state]); p->name, n->rid, ospf_ns[n->state], ospf_ns[state]);
n->state=state; n->state=state;
} }