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:
parent
7c49f71559
commit
2eef9e887a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user