diff options
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 */ }; |