diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-08 16:07:42 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-08 16:07:42 +0300 |
| commit | 8998807f699d70be3ac137094550533226f32db8 (patch) | |
| tree | 670f23be3f1b0a1d0b565fba974c19a1d5f19a9c /ripngd | |
| parent | 00b0b7484735d7ffbd8897613cfb96e1ba02f67b (diff) | |
*: 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 e103cdc3a8..5fc1e34592 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; |
