summaryrefslogtreecommitdiff
path: root/src/mcast.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-17 16:56:50 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-17 16:56:50 +0000
commita8f06005be7e61f0562d8c36d953f688922edf01 (patch)
treea31a44f5788cc5f8677ad696216b8d9416bc53e6 /src/mcast.c
parentf248d75e65247a39c29052bc3b4fbcc043a4967c (diff)
downloadconntrack-tools-a8f06005be7e61f0562d8c36d953f688922edf01.tar.gz
conntrack-tools-a8f06005be7e61f0562d8c36d953f688922edf01.zip
Max Kellermann <max@duempel.org>:
use C99 integers (uint32_t instead of u_int32_t)
Diffstat (limited to 'src/mcast.c')
-rw-r--r--src/mcast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mcast.c b/src/mcast.c
index cf03593..185a7e2 100644
--- a/src/mcast.c
+++ b/src/mcast.c
@@ -57,9 +57,9 @@ struct mcast_sock *mcast_server_create(struct mcast_conf *conf)
case AF_INET6:
memcpy(&mreq.ipv6.ipv6mr_multiaddr, &conf->in.inet_addr6,
- sizeof(u_int32_t) * 4);
+ sizeof(uint32_t) * 4);
memcpy(&mreq.ipv6.ipv6mr_interface, &conf->ifa.interface_addr6,
- sizeof(u_int32_t) * 4);
+ sizeof(uint32_t) * 4);
m->addr.ipv6.sin6_family = AF_INET6;
m->addr.ipv6.sin6_port = htons(conf->port);