diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/packet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index ac6a06f2..273a4a26 100644 --- a/proto/ospf/packet.c +++ b/proto/ospf/packet.c @@ -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 |