summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.c
diff options
context:
space:
mode:
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