Fix reporting of RIP socket errors. Thanks to Eric Leblond for the patch.

This commit is contained in:
Martin Mares 2003-12-06 16:41:11 +00:00
parent 37299f1e44
commit 502ded5215

View file

@ -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 );
}