diff options
author | hrs <hrs@FreeBSD.org> | 2013-08-17 19:23:35 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-08-17 19:23:35 +0000 |
commit | a8298dcc377707c8e7f1295e9e503cad9057196e (patch) | |
tree | bedf18c1abac1c39ad63158f9651e64df8e432c2 /usr.sbin/rtsold/probe.c | |
parent | 06c57264bc4627b043244c3f34745e71aa626651 (diff) | |
download | FreeBSD-src-a8298dcc377707c8e7f1295e9e503cad9057196e.zip FreeBSD-src-a8298dcc377707c8e7f1295e9e503cad9057196e.tar.gz |
- Remove struct ifinfo *iflist. It is no longer used.
- Suppress warnings about increase of alignment requirement.
Diffstat (limited to 'usr.sbin/rtsold/probe.c')
-rw-r--r-- | usr.sbin/rtsold/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rtsold/probe.c b/usr.sbin/rtsold/probe.c index 657ae40..ac733c9 100644 --- a/usr.sbin/rtsold/probe.c +++ b/usr.sbin/rtsold/probe.c @@ -164,7 +164,7 @@ sendprobe(struct in6_addr *addr, struct ifinfo *ifinfo) cm->cmsg_level = IPPROTO_IPV6; cm->cmsg_type = IPV6_PKTINFO; cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); - pi = (struct in6_pktinfo *)CMSG_DATA(cm); + pi = (struct in6_pktinfo *)(void *)CMSG_DATA(cm); memset(&pi->ipi6_addr, 0, sizeof(pi->ipi6_addr)); /*XXX*/ pi->ipi6_ifindex = ifindex; |