0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-19 11:55:21 +00:00

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