Use NG_NODESIZ instead of (NG_NODELEN + 1)
Noted by: jhb
This commit is contained in:
parent
bac74dea2f
commit
86a91f8b89
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user