diff options
author | Ondrej Filip <feela@network.cz> | 2005-02-14 21:34:46 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2005-02-14 21:34:46 +0000 |
commit | 2eef9e887ad82976476ea81aa3a25d97c3956b87 (patch) | |
tree | da318fe2514a8a5ba40811db71dc8038ce0f197a /proto | |
parent | 7c49f715593ad7bbe0a4fb86284e2023f7b65bc1 (diff) |
Be more verbose in log.
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 |