summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-05-08 15:07:42 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-05-08 15:07:42 +0200
commit8998807f699d70be3ac137094550533226f32db8 (patch)
tree670f23be3f1b0a1d0b565fba974c19a1d5f19a9c /ripngd
parentMerge pull request #11145 from donaldsharp/bgp_capability (diff)
downloadfrr-8998807f699d70be3ac137094550533226f32db8.tar.xz
frr-8998807f699d70be3ac137094550533226f32db8.zip
*: Avoid casting to the same type as on the left
Just not necessary. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripngd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index e103cdc3a..5fc1e3459 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -217,7 +217,7 @@ int ripng_send_packet(caddr_t buf, int bufsize, struct sockaddr_in6 *to,
msg.msg_namelen = sizeof(struct sockaddr_in6);
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
- msg.msg_control = (void *)adata;
+ msg.msg_control = adata;
msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
iov.iov_base = buf;