diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2004-01-26 12:24:07 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2004-01-26 12:24:07 +0000 |
| commit | 2c858ebee01838962b8c8fcda3c612aa792e1d97 (patch) | |
| tree | 52fbb1b421acfe230691252510faeca3d0b1bd25 /sys/netgraph | |
| parent | 6e628b8187bdf850ca33ffca17bff7d788c6a30d (diff) | |
Notes
Diffstat (limited to 'sys/netgraph')
| -rw-r--r-- | sys/netgraph/netgraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h index e8ffdda95be8..8981836cd2ed 100644 --- a/sys/netgraph/netgraph.h +++ b/sys/netgraph/netgraph.h @@ -99,7 +99,7 @@ typedef int ng_rcvitem (node_p node, hook_p hook, item_p item); * Structure of a hook */ struct ng_hook { - char hk_name[NG_HOOKLEN+1]; /* what this node knows this link as */ + char hk_name[NG_HOOKSIZ]; /* what this node knows this link as */ void *hk_private; /* node dependant ID for this hook */ int hk_flags; /* info about this hook/link */ int hk_refs; /* dont actually free this till 0 */ @@ -322,7 +322,7 @@ struct ng_queue { }; struct ng_node { - char nd_name[NG_NODELEN+1]; /* optional globally unique name */ + char nd_name[NG_NODESIZ]; /* optional globally unique name */ struct ng_type *nd_type; /* the installed 'type' */ int nd_flags; /* see below for bit definitions */ int nd_refs; /* # of references to this node */ |
