aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebtable_nat.c
diff options
context:
space:
mode:
authortanxiaojun <tanxiaojun@huawei.com>2013-12-19 13:28:14 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-19 19:27:26 -0500
commit97ad8b53e6495a25cbc4d10c0a407c7db1ceeea6 (patch)
tree09ff43c85794f466b2c5868a611613088fb68a23 /net/bridge/netfilter/ebtable_nat.c
parentbridge: change "foo* bar" to "foo *bar" (diff)
downloadlinux-dev-97ad8b53e6495a25cbc4d10c0a407c7db1ceeea6.tar.xz
linux-dev-97ad8b53e6495a25cbc4d10c0a407c7db1ceeea6.zip
bridge: change the position of '{' to the pre line
That open brace { should be on the previous line. Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/bridge/netfilter/ebtable_nat.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c
index bd238f1f105b..a0ac2984fb6c 100644
--- a/net/bridge/netfilter/ebtable_nat.c
+++ b/net/bridge/netfilter/ebtable_nat.c
@@ -14,8 +14,7 @@
#define NAT_VALID_HOOKS ((1 << NF_BR_PRE_ROUTING) | (1 << NF_BR_LOCAL_OUT) | \
(1 << NF_BR_POST_ROUTING))
-static struct ebt_entries initial_chains[] =
-{
+static struct ebt_entries initial_chains[] = {
{
.name = "PREROUTING",
.policy = EBT_ACCEPT,
@@ -30,8 +29,7 @@ static struct ebt_entries initial_chains[] =
}
};
-static struct ebt_replace_kernel initial_table =
-{
+static struct ebt_replace_kernel initial_table = {
.name = "nat",
.valid_hooks = NAT_VALID_HOOKS,
.entries_size = 3 * sizeof(struct ebt_entries),
@@ -50,8 +48,7 @@ static int check(const struct ebt_table_info *info, unsigned int valid_hooks)
return 0;
}
-static struct ebt_table frame_nat =
-{
+static struct ebt_table frame_nat = {
.name = "nat",
.table = &initial_table,
.valid_hooks = NAT_VALID_HOOKS,