Skip to content

Commit

Permalink
makes it compilable with MROUTING option
Browse files Browse the repository at this point in the history
  • Loading branch information
suz committed Sep 20, 2002
1 parent d956239 commit 6253319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion openbsd/sys/netinet/igmp.c
Expand Up @@ -369,7 +369,8 @@ igmp_input(struct mbuf *m, ...)
int timer;
va_list ap;

#ifdef MROUTING
#if defined(IGMPV3) && defined(MROUTING)

extern struct socket *ip_mrouter;
#endif /* MROUTING */

Expand Down
2 changes: 1 addition & 1 deletion openbsd/sys/netinet/ip_input.c
Expand Up @@ -97,7 +97,7 @@
#include <netinet/ip_var.h>
#include <netinet/ip_icmp.h>

#ifdef IGMPV3
#if defined(IGMPV3) || defined(MROUTING)
#include <netinet/igmp_var.h>
#endif

Expand Down

0 comments on commit 6253319

Please sign in to comment.