Skip to content

Commit

Permalink
net/igmpproxy: update to 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner authored and clausecker committed Apr 28, 2023
1 parent e4b07a2 commit e9b7c75
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion net/igmpproxy/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= igmpproxy
DISTVERSION= 0.3
DISTVERSION= 0.4
PORTEPOCH= 1
CATEGORIES= net

Expand Down
6 changes: 3 additions & 3 deletions net/igmpproxy/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1610439794
SHA256 (pali-igmpproxy-0.3_GH0.tar.gz) = 1aa45dbcd253531b92c09cef3ba0af7056fc2f89395948177ba27f8650b55449
SIZE (pali-igmpproxy-0.3_GH0.tar.gz) = 42656
TIMESTAMP = 1681465181
SHA256 (pali-igmpproxy-0.4_GH0.tar.gz) = b905c492aa54212d022220631ab3176f2f5052c4f9a31e369e4d948210f24277
SIZE (pali-igmpproxy-0.4_GH0.tar.gz) = 43664
15 changes: 12 additions & 3 deletions net/igmpproxy/files/patch-src_igmpproxy.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
--- src/igmpproxy.h.orig 2021-01-12 08:24:34 UTC
--- src/igmpproxy.h.orig 2022-10-29 10:01:46 UTC
+++ src/igmpproxy.h
@@ -112,7 +112,7 @@ void my_log( int Serverity, int Errno, const char *Fmt
@@ -115,7 +115,7 @@ void my_log( int Serverity, int Errno, const char *Fmt

/* ifvc.c
*/
-#define MAX_IF 40 // max. number of interfaces recognized
+#define MAX_IF 140 // max. number of interfaces recognized
+#define MAX_IF 240 // max. number of interfaces recognized

// Interface states
#define IF_STATE_DISABLED 0 // Interface should be ignored.
@@ -183,7 +183,7 @@ struct Config {
unsigned short defaultInterfaceState; // 0: disable, 2: downstream
//~ aimwang added done
char chroot[PATH_MAX];
- char user[LOGIN_NAME_MAX];
+ char user[MAXLOGNAME];
};

// Holds the indeces of the upstream IF...

0 comments on commit e9b7c75

Please sign in to comment.