Use NG_NODESIZ instead of (NG_NODELEN + 1)

Noted by: jhb
This commit is contained in:
Julian Elischer 2004-05-24 20:45:53 +00:00
parent bac74dea2f
commit 86a91f8b89

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;