diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-22 11:03:30 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-01-22 11:03:30 +0100 |
commit | 5c78e0e386d4c770b646cab4a8adc3c87987f50f (patch) | |
tree | c3d3a4e35812d94d46811e2c0d8fdcbed200b22c /proto/ospf/packet.c | |
parent | bc092571171d00de8b429fec8ba70c39240d7e91 (diff) |
Some more verbose warnings.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r-- | proto/ospf/packet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index df67d5a0..7a26967f 100644 --- a/proto/ospf/packet.c +++ b/proto/ospf/packet.c @@ -489,17 +489,17 @@ ospf_rx_hook(sock *sk, int size) void ospf_tx_hook(sock * sk) { -// struct ospf_iface *ifa= (struct ospf_iface *) (sk->data); + struct ospf_iface *ifa= (struct ospf_iface *) (sk->data); // struct proto *p = (struct proto *) (ifa->oa->po); - log(L_ERR "OSPF: TX_Hook called"); + log(L_ERR "OSPF: TX hook called on %s", ifa->iface->name); } void ospf_err_hook(sock * sk, int err) { -// struct ospf_iface *ifa= (struct ospf_iface *) (sk->data); + struct ospf_iface *ifa= (struct ospf_iface *) (sk->data); // struct proto *p = (struct proto *) (ifa->oa->po); - log(L_ERR "OSPF: Socket error: %M", err); + log(L_ERR "OSPF: Socket error on %s: %M", ifa->iface->name, err); } void |