mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
ifnet: fix if_strings.h build check
This commit is contained in:
parent
c344eff910
commit
511b35866a
1 changed files with 3 additions and 0 deletions
|
|
@ -100,7 +100,10 @@ static const char *ifcap_bit_names[] = {
|
|||
IFCAP_RXTLS4_NAME,
|
||||
IFCAP_RXTLS6_NAME,
|
||||
};
|
||||
|
||||
#ifdef IFCAP_B_SIZE
|
||||
_Static_assert(sizeof(ifcap_bit_names) >= IFCAP_B_SIZE * sizeof(char *),
|
||||
"ifcap bit names missing from ifcap_bit_names");
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue