ports/net/igmpproxy/files/patch-src_igmpproxy.h
Steve Wills 15eadda4e1 net/igmpproxy: increase MAX_IF
to work around error on systems with larger numbers of network addresses

PR:		231800
Submitted by:	Franco Fichtner <franco@opnsense.org> (maintainer)
2018-10-01 20:50:46 +00:00

31 lines
711 B
C

--- src/igmpproxy.h.orig 2018-02-13 19:17:30 UTC
+++ src/igmpproxy.h
@@ -35,9 +35,6 @@
* igmpproxy.h - Header file for common includes.
*/
-#include "config.h"
-#include "os.h"
-
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
@@ -60,6 +57,9 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include "os.h"
+#include "config.h"
+
/*
* Limit on length of route data
*/
@@ -113,7 +113,7 @@ void my_log( int Serverity, int Errno, c
/* ifvc.c
*/
-#define MAX_IF 40 // max. number of interfaces recognized
+#define MAX_IF 100 // max. number of interfaces recognized
// Interface states
#define IF_STATE_DISABLED 0 // Interface should be ignored.