summaryrefslogtreecommitdiff
path: root/pimd/pim_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_sock.c')
-rw-r--r--pimd/pim_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c
index 7f62a1e9dc..07b137bb51 100644
--- a/pimd/pim_sock.c
+++ b/pimd/pim_sock.c
@@ -174,7 +174,7 @@ int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp,
/* Set router alert (RFC 2113) for all IGMP messages (RFC 3376 4. Message Formats)*/
if (protocol == IPPROTO_IGMP) {
- char ra[4];
+ uint8_t ra[4];
ra[0] = 148;
ra[1] = 4;
ra[2] = 0;