blob: e645c15337d4878e906fd01fc9410a86c4fdfc3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- 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;
|