Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afdd6140 authored by Sven Wegener's avatar Sven Wegener
Browse files

ipvs: Use ARRAY_SIZE()

parent 8ab19ea3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ struct ip_vs_app
 */
extern const char *ip_vs_proto_name(unsigned proto);
extern void ip_vs_init_hash_table(struct list_head *table, int rows);
#define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table(t, sizeof(t)/sizeof(t[0]))
#define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table((t), ARRAY_SIZE((t)))

#define IP_VS_APP_TYPE_FTP	1