Some more verbose warnings.
This commit is contained in:
parent
bc09257117
commit
5c78e0e386
2 changed files with 5 additions and 5 deletions
|
@ -177,7 +177,7 @@ struct ospf_area_config
|
||||||
struct ospf_iface
|
struct ospf_iface
|
||||||
{
|
{
|
||||||
node n;
|
node n;
|
||||||
struct iface *iface; /* Nest's iface */
|
struct iface *iface; /* Nest's iface, non-NULL (unless type OSPF_IT_VLINK) */
|
||||||
struct ifa *addr; /* IP prefix associated with that OSPF iface */
|
struct ifa *addr; /* IP prefix associated with that OSPF iface */
|
||||||
struct ospf_area *oa;
|
struct ospf_area *oa;
|
||||||
struct ospf_iface_patt *cf;
|
struct ospf_iface_patt *cf;
|
||||||
|
|
|
@ -489,17 +489,17 @@ ospf_rx_hook(sock *sk, int size)
|
||||||
void
|
void
|
||||||
ospf_tx_hook(sock * sk)
|
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);
|
// 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
|
void
|
||||||
ospf_err_hook(sock * sk, int err)
|
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);
|
// 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
|
void
|
||||||
|
|
Loading…
Reference in a new issue