--- bird-1.0.7.orig/proto/rip/rip.c	Thu Aug 14 08:13:13 2003
+++ bird-1.0.7/proto/rip/rip.c	Wed Dec  3 11:14:56 2003
@@ -79,7 +79,7 @@
 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 );
 }
