1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/news/ifmail/files/patch-nodelist
Dirk Meyer 8596ff9eea - add LICENSE
- default config now PREFIX aware
- make portlint happier
2017-02-09 10:20:41 +00:00

23 lines
609 B
Plaintext

--- ifcico/nodelist.c.orig 1997-10-04 09:21:44 UTC
+++ ifcico/nodelist.c
@@ -207,7 +207,7 @@ faddr *addr;
debug(20,"getnlent: phone %s",nodebuf.phone);
debug(20,"getnlent: speed %u",nodebuf.speed);
debug(20,"getnlent: flags 0x%lx",nodebuf.flags);
- for (j=0;nodebuf.uflags[j];j++)
+ for (j=0; (j < MAXUFLAGS) && nodebuf.uflags[j];j++)
debug(20,"getnlent: uflag %s",nodebuf.uflags[j]);
return &nodebuf;
--- ifcico/nodelist.h.orig 1994-10-29 11:19:33 UTC
+++ ifcico/nodelist.h
@@ -3,7 +3,7 @@
#include "ftn.h"
-#define MAXUFLAGS 8
+#define MAXUFLAGS 16
typedef struct _node {
faddr addr;