summaryrefslogtreecommitdiff
path: root/ripngd/ripng_nexthop.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripng_nexthop.c')
-rw-r--r--ripngd/ripng_nexthop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ripngd/ripng_nexthop.c b/ripngd/ripng_nexthop.c
index 04b13c50..e946dc91 100644
--- a/ripngd/ripng_nexthop.c
+++ b/ripngd/ripng_nexthop.c
@@ -161,7 +161,7 @@ ripng_rte_send(struct list *ripng_rte_list, struct interface *ifp,
/* A nexthop entry should be at least followed by 1 RTE */
if (num == (rtemax-1)) {
- ret = ripng_send_packet (STREAM_DATA (s), stream_get_endp (s),
+ ret = ripng_send_packet ((caddr_t) STREAM_DATA (s), stream_get_endp (s),
to, ifp);
if (ret >= 0 && IS_RIPNG_DEBUG_SEND)
@@ -191,7 +191,7 @@ ripng_rte_send(struct list *ripng_rte_list, struct interface *ifp,
TAG_OUT(data), METRIC_OUT(data));
if (num == rtemax) {
- ret = ripng_send_packet (STREAM_DATA (s), stream_get_endp (s),
+ ret = ripng_send_packet ((caddr_t) STREAM_DATA (s), stream_get_endp (s),
to, ifp);
if (ret >= 0 && IS_RIPNG_DEBUG_SEND)
@@ -204,7 +204,7 @@ ripng_rte_send(struct list *ripng_rte_list, struct interface *ifp,
/* If unwritten RTE exist, flush it. */
if (num != 0) {
- ret = ripng_send_packet (STREAM_DATA (s), stream_get_endp (s),
+ ret = ripng_send_packet ((caddr_t) STREAM_DATA (s), stream_get_endp (s),
to, ifp);
if (ret >= 0 && IS_RIPNG_DEBUG_SEND)