diff options
author | harti <harti@FreeBSD.org> | 2004-01-26 14:05:31 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-01-26 14:05:31 +0000 |
commit | 14cb10664f95adf9dd36c845745d3d5c87d3d636 (patch) | |
tree | a18015e7df92db337721d9972123a9203ac17d71 /sys/netgraph/ng_etf.h | |
parent | 98f2740a9c4a3cda7a5f4e77919cfe1284eed47c (diff) | |
download | FreeBSD-src-14cb10664f95adf9dd36c845745d3d5c87d3d636.zip FreeBSD-src-14cb10664f95adf9dd36c845745d3d5c87d3d636.tar.gz |
Get rid of the deprecated *LEN constants in favour of the new
*SIZ constants that include the trailing \0 byte.
Diffstat (limited to 'sys/netgraph/ng_etf.h')
-rw-r--r-- | sys/netgraph/ng_etf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_etf.h b/sys/netgraph/ng_etf.h index 5d4edd7..5bf19c3 100644 --- a/sys/netgraph/ng_etf.h +++ b/sys/netgraph/ng_etf.h @@ -72,7 +72,7 @@ struct ng_etfstat { /* This structure is returned by the NGM_ETF_GET_STATUS command */ struct ng_etffilter { - char matchhook[NG_HOOKLEN + 1]; /* hook name */ + char matchhook[NG_HOOKSIZ]; /* hook name */ u_int16_t ethertype; /* this ethertype to this hook */ }; |