mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
bridge: make ebt_table const
Make this const as it is only passed to a const argument of the function ebt_register_table. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7a483899b5
commit
eb73ddebe9
@@ -48,7 +48,7 @@ static int check(const struct ebt_table_info *info, unsigned int valid_hooks)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct ebt_table frame_nat = {
|
||||
static const struct ebt_table frame_nat = {
|
||||
.name = "nat",
|
||||
.table = &initial_table,
|
||||
.valid_hooks = NAT_VALID_HOOKS,
|
||||
|
||||
Reference in New Issue
Block a user