From 9ee386a1b6d7704b259460152c959ab0e79e02aa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2008 13:48:05 +0000 Subject: fix gcc warnings Max Kellermann --- extensions/libipt_addrtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libipt_addrtype.c') diff --git a/extensions/libipt_addrtype.c b/extensions/libipt_addrtype.c index b8605c73..5557af23 100644 --- a/extensions/libipt_addrtype.c +++ b/extensions/libipt_addrtype.c @@ -180,7 +180,7 @@ static void addrtype_save(const void *ip, const struct xt_entry_match *match) static const struct option addrtype_opts[] = { { "src-type", 1, NULL, '1' }, { "dst-type", 1, NULL, '2' }, - { } + { .name = NULL } }; static struct iptables_match addrtype_match = { -- cgit v1.2.3