0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Be more verbose in log.

This commit is contained in:
Ondrej Filip 2005-02-14 21:34:46 +00:00
parent 7c49f71559
commit 2eef9e887a

View File

@ -361,11 +361,12 @@ ospf_tx_hook(sock * sk)
}
void
ospf_err_hook(sock * sk, int err UNUSED)
ospf_err_hook(sock * sk, int err)
{
struct ospf_iface *ifa= (struct ospf_iface *) (sk->data);
struct proto *p = (struct proto *) (ifa->oa->po);
log(L_ERR "%s: Err_Hook called on interface %s\n", p->name, sk->iface->name);
log(L_ERR "%s: Err_Hook called on interface %s with err=%d\n",
p->name, sk->iface->name, err);
}
void