Skip to content

Commit

Permalink
Fix issues from copying changes between repos
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfitch1 committed Jul 30, 2024
1 parent ed5a03e commit 3dfe7dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/udp/mcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*
* Copyright (C) 2010 Creytiv.com
*/
#include <net/if.h>

#include <re_types.h>
#include <re_fmt.h>
#include <re_net.h>
Expand Down Expand Up @@ -50,7 +52,7 @@ static int multicast_update(struct udp_sock *us, const struct sa *group,
case AF_INET6:
mreq6.ipv6mr_multiaddr = group->u.in6.sin6_addr;
mreq6.ipv6mr_interface = if_index;
if (if_index = 0) {
if (if_index == 0) {
mreq6.ipv6mr_interface = sa_scopeid(group);
}

Expand Down

0 comments on commit 3dfe7dd

Please sign in to comment.