summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_msdp_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_msdp_packet.c b/pimd/pim_msdp_packet.c
index 11efc158e..978d97924 100644
--- a/pimd/pim_msdp_packet.c
+++ b/pimd/pim_msdp_packet.c
@@ -221,7 +221,7 @@ int pim_msdp_write(struct thread *thread)
writenum = stream_get_endp(s) - stream_get_getp(s);
/* Call write() system call */
- num = write(mp->fd, STREAM_PNT(s), writenum);
+ num = write(mp->fd, stream_pnt(s), writenum);
if (num < 0) {
/* write failed either retry needed or error */
if (ERRNO_IO_RETRY(errno)) {