Skip to content

Commit

Permalink
fix missing #endif
Browse files Browse the repository at this point in the history
  • Loading branch information
justapotato213 committed Nov 10, 2024
1 parent b964eee commit e0c9810
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/inet/ipv4_setsockopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ int ipv4_setsockopt(FAR struct socket *psock, int option,
#endif
}
break;
#endif

#ifdef NET_UDP_HAVE_STACK
case IP_ADD_MEMBERSHIP: /* Join a multicast group */
Expand Down Expand Up @@ -304,7 +305,7 @@ int ipv4_setsockopt(FAR struct socket *psock, int option,
break;
}
#endif

#ifdef CONFIG_NET_IGMP
/* The following IPv4 socket options are defined, but not implemented */

case IP_UNBLOCK_SOURCE: /* Unblock previously blocked multicast
Expand Down

0 comments on commit e0c9810

Please sign in to comment.