From 2eef9e887ad82976476ea81aa3a25d97c3956b87 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Mon, 14 Feb 2005 21:34:46 +0000 Subject: Be more verbose in log. --- proto/ospf/packet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto/ospf') 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 -- cgit v1.2.3