summaryrefslogtreecommitdiffstats
path: root/kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-03-02 15:18:08 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-03-02 15:18:08 +0000
commit8ed17d12ee94aed32464c0cedbd8b94e47fed3ab (patch)
treefb68636019976ccad346c86ae1fef48d2fee9800 /kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c
parentd43d7ed07f94ee0ede64529c9dbc5a85ec713f3a (diff)
trivial things
Diffstat (limited to 'kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c')
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c b/kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c
index e125c01..b31093e 100644
--- a/kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c
+++ b/kernel/linux2.5/net/bridge/netfilter/ebt_dnat.c
@@ -45,8 +45,10 @@ static int ebt_target_dnat_check(const char *tablename, unsigned int hookmask,
static struct ebt_target dnat =
{
- {NULL, NULL}, EBT_DNAT_TARGET, ebt_target_dnat, ebt_target_dnat_check,
- NULL, THIS_MODULE
+ .name = EBT_DNAT_TARGET,
+ .target = ebt_target_dnat,
+ .check = ebt_target_dnat_check,
+ .me = THIS_MODULE
};
static int __init init(void)