summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98t.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpip/rip98t.c')
-rw-r--r--tcpip/rip98t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpip/rip98t.c b/tcpip/rip98t.c
index 502b5f4..00b27d7 100644
--- a/tcpip/rip98t.c
+++ b/tcpip/rip98t.c
@@ -42,7 +42,7 @@ void transmit_routes(int s)
if (debug && logging)
syslog(LOG_DEBUG, "transmit_routes: sending routing message to %s\n", inet_ntoa(dest_list[i].dest_addr));
- memset((char *)&rem_addr, 0, sizeof(rem_addr));
+ memset(&rem_addr, 0, sizeof(rem_addr));
rem_addr.sin_family = AF_INET;
rem_addr.sin_addr = dest_list[i].dest_addr;
rem_addr.sin_port = htons(RIP_PORT);