summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-14 22:34:46 +0100
committerOndrej Filip <feela@network.cz>2005-02-14 22:34:46 +0100
commit2eef9e887ad82976476ea81aa3a25d97c3956b87 (patch)
treeda318fe2514a8a5ba40811db71dc8038ce0f197a /proto/ospf/packet.c
parent7c49f715593ad7bbe0a4fb86284e2023f7b65bc1 (diff)
downloadbird-2eef9e887ad82976476ea81aa3a25d97c3956b87.tar
bird-2eef9e887ad82976476ea81aa3a25d97c3956b87.zip
Be more verbose in log.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index ac6a06f..273a4a2 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