diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-08 15:07:42 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-08 15:07:42 +0200 |
commit | 8998807f699d70be3ac137094550533226f32db8 (patch) | |
tree | 670f23be3f1b0a1d0b565fba974c19a1d5f19a9c /ripngd | |
parent | Merge pull request #11145 from donaldsharp/bgp_capability (diff) | |
download | frr-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.c | 2 |
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; |