Fix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.
This commit is contained in:
parent
37299f1e44
commit
502ded5215
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ static struct rip_interface *new_iface(struct proto *p, struct iface *new, unsig
|
|||
static void
|
||||
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;
|
||||
log( L_ERR "%s: Unexpected error at rip transmit: %M", P_NAME, err );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue