summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98t.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpip/rip98t.c')
-rw-r--r--tcpip/rip98t.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcpip/rip98t.c b/tcpip/rip98t.c
index 9fd78c6..502b5f4 100644
--- a/tcpip/rip98t.c
+++ b/tcpip/rip98t.c
@@ -55,7 +55,9 @@ void transmit_routes(int s)
while (mess_len < 184 && route != NULL) {
if (route->action != DEL_ROUTE) {
- memcpy(message + mess_len + 0, (char *)&route->addr, sizeof(struct in_addr));
+ memcpy(message + mess_len + 0,
+ &route->addr,
+ sizeof(struct in_addr));
message[mess_len + 4] = route->bits;
message[mess_len + 5] = route->metric;