summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-03-11 18:07:24 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-03-11 18:07:24 +0100
commite7b76b976084006e430543f4b872f624326dbfe6 (patch)
treef215cce7aaeddfdb03164b67381d5eddb889d03f /proto/ospf/packet.h
parent353729f513aa6a1f9e7f66083a0f9d2117fe2be5 (diff)
downloadbird-e7b76b976084006e430543f4b872f624326dbfe6.tar
bird-e7b76b976084006e430543f4b872f624326dbfe6.zip
Temoporary OSPF commit - socket changes.
Diffstat (limited to 'proto/ospf/packet.h')
-rw-r--r--proto/ospf/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.h b/proto/ospf/packet.h
index 053aba3..1c74a70 100644
--- a/proto/ospf/packet.h
+++ b/proto/ospf/packet.h
@@ -19,6 +19,6 @@ void ospf_send_to_agt(struct ospf_iface *ifa, u8 state);
void ospf_send_to_bdr(struct ospf_iface *ifa);
void ospf_send_to(struct ospf_iface *ifa, ip_addr ip);
-static inline void * ospf_tx_buffer() { return ospf_socket->tbuf; }
+static inline void * ospf_tx_buffer(struct ospf_iface *ifa) { return ifa->sk->tbuf; }
#endif /* _BIRD_OSPF_PACKET_H_ */