1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/news/ifmail/files/patch-nodelist

23 lines
648 B
Plaintext

--- ifcico/nodelist.c.orig Sat Oct 4 11:21:44 1997
+++ ifcico/nodelist.c Mon Jul 16 20:24:13 2001
@@ -207,7 +207,7 @@
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 Sat Oct 29 12:19:33 1994
+++ ifcico/nodelist.h Sun Jul 1 10:57:18 2001
@@ -3,7 +3,7 @@
#include "ftn.h"
-#define MAXUFLAGS 8
+#define MAXUFLAGS 16
typedef struct _node {
faddr addr;