mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.
This commit is contained in:
parent
37299f1e44
commit
502ded5215
@ -79,7 +79,7 @@ static struct rip_interface *new_iface(struct proto *p, struct iface *new, unsig
|
|||||||
static void
|
static void
|
||||||
rip_tx_err( sock *s, int err )
|
rip_tx_err( sock *s, int err )
|
||||||
{
|
{
|
||||||
struct rip_connection *c = s->data;
|
struct rip_connection *c = ((struct rip_interface *)(s->data))->busy;
|
||||||
struct proto *p = c->proto;
|
struct proto *p = c->proto;
|
||||||
log( L_ERR "%s: Unexpected error at rip transmit: %M", P_NAME, err );
|
log( L_ERR "%s: Unexpected error at rip transmit: %M", P_NAME, err );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user