Use NG_NODESIZ instead of (NG_NODELEN + 1)

Noted by: jhb
This commit is contained in:
julian 2004-05-24 20:45:53 +00:00
parent 0c0aafcdd1
commit 062753df75

View File

@ -222,7 +222,7 @@ struct softc {
struct mdesc *mdt[NHDLC];
struct mdesc *mdr[NHDLC];
node_p node; /* NG node */
char nodename[NG_NODELEN + 1]; /* NG nodename */
char nodename[NG_NODESIZ]; /* NG nodename */
struct schan *chan[NHDLC];
u_long cnt_ferr;
u_long cnt_cerr;